java.io.Closeable, java.io.Flushable, java.lang.AutoCloseablepublic final class NDocumentOutputStream
extends java.io.OutputStream
NPOIFSFileSystem instance.| Constructor | 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 | 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.lang.AutoCloseableclose in interface java.io.Closeableclose in class java.io.OutputStreamjava.io.IOExceptionCopyright 2018 The Apache Software Foundation or its licensors, as applicable.