public final class NDocumentOutputStream extends OutputStream
NPOIFSFileSystem instance.| Constructor and Description |
|---|
NDocumentOutputStream(DirectoryEntry parent,
String name)
Create an OutputStream to create the specified new Entry
|
NDocumentOutputStream(DocumentEntry document)
Create an OutputStream from the specified DocumentEntry.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
write(byte[] b) |
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
flushpublic NDocumentOutputStream(DocumentEntry document) throws IOException
document - the DocumentEntry to be writtenIOExceptionpublic NDocumentOutputStream(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)
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 OutputStreamIOExceptionCopyright © 2007-2022. All Rights Reserved.