org.apache.poi.poifs.filesystem
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.
|
public NDocumentOutputStream(DocumentEntry document) throws java.io.IOException
document
- the DocumentEntry to be writtenjava.io.IOException
public NDocumentOutputStream(DirectoryEntry parent, java.lang.String name) throws java.io.IOException
parent
- Where to create the Entryname
- Name of the new entryjava.io.IOException
public void write(int b) throws java.io.IOException
write
in class java.io.OutputStream
java.io.IOException
public void write(byte[] b) throws java.io.IOException
write
in class java.io.OutputStream
java.io.IOException
public void write(byte[] b, int off, int len) throws java.io.IOException
write
in class java.io.OutputStream
java.io.IOException
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in class java.io.OutputStream
java.io.IOException
Copyright 2016 The Apache Software Foundation or its licensors, as applicable.