Package com.appiancorp.suiteapi.content
Class DocumentOutputStream
java.lang.Object
java.io.OutputStream
com.appiancorp.suiteapi.content.DocumentOutputStream
- All Implemented Interfaces:
Closeable
,Flushable
,AutoCloseable
Represents an output stream for a Document object.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract long
DocumentOutputStream tracks the number of bytes to this OutputStream, This can then be used to accuratly set the Document sizeMethods inherited from class java.io.OutputStream
close, flush, nullOutputStream, write, write, write
-
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
-