Class MemoryPackagePartOutputStream
java.lang.Object
java.io.OutputStream
org.apache.poi.openxml4j.opc.internal.MemoryPackagePartOutputStream
- All Implemented Interfaces:
Closeable
,Flushable
,AutoCloseable
Build an output stream for MemoryPackagePart.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.io.OutputStream
nullOutputStream
-
Constructor Details
-
MemoryPackagePartOutputStream
-
-
Method Details
-
write
public void write(int b) - Specified by:
write
in classOutputStream
-
close
Close this stream and flush the content.- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classOutputStream
- Throws:
IOException
- See Also:
-
flush
Flush this output stream. This method is called by the close() method. Warning : don't call this method for output consistency.- Specified by:
flush
in interfaceFlushable
- Overrides:
flush
in classOutputStream
- Throws:
IOException
- See Also:
-
write
public void write(byte[] b, int off, int len) - Overrides:
write
in classOutputStream
-
write
- Overrides:
write
in classOutputStream
- Throws:
IOException
-