Class OfficeOutputStream

java.lang.Object
java.io.OutputStream
io.jmix.reports.yarg.formatters.impl.doc.OfficeOutputStream
All Implemented Interfaces:
com.sun.star.io.XOutputStream, com.sun.star.uno.XInterface, Closeable, Flushable, AutoCloseable

public class OfficeOutputStream extends OutputStream implements com.sun.star.io.XOutputStream
Proxy stream
  • Constructor Details

    • OfficeOutputStream

      public OfficeOutputStream(OutputStream outputStream)
  • Method Details

    • write

      public void write(int b) throws IOException
      Specified by:
      write in class OutputStream
      Throws:
      IOException
    • writeBytes

      public void writeBytes(byte[] values) throws com.sun.star.io.IOException
      Specified by:
      writeBytes in interface com.sun.star.io.XOutputStream
      Throws:
      com.sun.star.io.IOException
    • closeOutput

      public void closeOutput() throws com.sun.star.io.IOException
      Specified by:
      closeOutput in interface com.sun.star.io.XOutputStream
      Throws:
      com.sun.star.io.IOException
    • write

      public void write(byte[] b, int off, int len) throws IOException
      Overrides:
      write in class OutputStream
      Throws:
      IOException
    • write

      public void write(byte[] b) throws IOException
      Overrides:
      write in class OutputStream
      Throws:
      IOException
    • flush

      public void flush()
      Specified by:
      flush in interface Flushable
      Specified by:
      flush in interface com.sun.star.io.XOutputStream
      Overrides:
      flush in class OutputStream
    • close

      public void close() throws IOException
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable
      Overrides:
      close in class OutputStream
      Throws:
      IOException