public final class DocumentOutputStream extends OutputStream
POIFSFileSystem instance.| Constructor and Description |
|---|
DocumentOutputStream(DirectoryEntry parent,
String name)
Create an OutputStream to create the specified new Entry
|
DocumentOutputStream(DocumentEntry document)
Create an OutputStream from the specified DocumentEntry.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
long |
size() |
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
flush, writepublic DocumentOutputStream(DocumentEntry document) throws IOException
document - the DocumentEntry to be writtenIOExceptionpublic DocumentOutputStream(DirectoryEntry parent, String name) throws IOException
parent - Where to create the Entryname - Name of the new entryIOExceptionpublic void write(int b)
throws IOException
write in class OutputStreamIOExceptionpublic void write(byte[] b,
int off,
int len)
throws IOException
write in class OutputStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class OutputStreamIOExceptionpublic long size()
Copyright © 2010 - 2020 Adobe. All Rights Reserved