public final class NDocumentOutputStream
extends java.io.OutputStream
NPOIFSFileSystem instance.| Constructor and Description |
|---|
NDocumentOutputStream(DirectoryEntry parent,
java.lang.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) |
public NDocumentOutputStream(DocumentEntry document) throws java.io.IOException
document - the DocumentEntry to be writtenjava.io.IOExceptionpublic NDocumentOutputStream(DirectoryEntry parent, java.lang.String name) throws java.io.IOException
parent - Where to create the Entryname - Name of the new entryjava.io.IOExceptionpublic void write(int b)
throws java.io.IOException
write in class java.io.OutputStreamjava.io.IOExceptionpublic void write(byte[] b)
throws java.io.IOException
write in class java.io.OutputStreamjava.io.IOExceptionpublic void write(byte[] b,
int off,
int len)
throws java.io.IOException
write in class java.io.OutputStreamjava.io.IOExceptionpublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.OutputStreamjava.io.IOExceptionCopyright 2018 The Apache Software Foundation or its licensors, as applicable.