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) |
flush
public NDocumentOutputStream(DocumentEntry document) throws IOException
document
- the DocumentEntry to be writtenIOException
public NDocumentOutputStream(DirectoryEntry parent, String name) throws IOException
parent
- Where to create the Entryname
- Name of the new entryIOException
public void write(int b) throws IOException
write
in class OutputStream
IOException
public void write(byte[] b) throws IOException
write
in class OutputStream
IOException
public void write(byte[] b, int off, int len) throws IOException
write
in class OutputStream
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class OutputStream
IOException
Copyright © 2007-2019. All Rights Reserved.