Class DocumentOutputStream

java.lang.Object
java.io.OutputStream
com.appiancorp.suiteapi.content.DocumentOutputStream
All Implemented Interfaces:
Closeable, Flushable, AutoCloseable

public abstract class DocumentOutputStream extends OutputStream
Represents an output stream for a Document object.
  • Constructor Details

    • DocumentOutputStream

      public DocumentOutputStream()
  • Method Details

    • getBytesWritten

      public abstract long getBytesWritten()
      DocumentOutputStream tracks the number of bytes to this OutputStream, This can then be used to accuratly set the Document size
      Returns:
      the number of bytes written