Class ContentUploadOutputStream

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

public abstract class ContentUploadOutputStream extends OutputStream
Represents a document and its output stream to which the document's content should be written during an upload. The document's data should be written to the returned output stream and the upload will be completed by calling close(). Invoking the stream's close method will calculate the size of the data written to the stream and save it as metadata for the document.