Class UnsyncBufferedOutputStream
java.lang.Object
java.io.OutputStream
org.docx4j.org.apache.xml.security.utils.UnsyncBufferedOutputStream
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
A class that buffers without synchronizing its methods
- Author:
- raul
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a buffered output stream without synchronization -
Method Summary
Methods inherited from class java.io.OutputStream
nullOutputStream
-
Constructor Details
-
UnsyncBufferedOutputStream
Creates a buffered output stream without synchronization- Parameters:
out- the outputstream to buffer
-
-
Method Details
-
write
- Overrides:
writein classOutputStream- Throws:
IOException
-
write
- Overrides:
writein classOutputStream- Throws:
IOException
-
write
- Specified by:
writein classOutputStream- Throws:
IOException
-
flush
- Specified by:
flushin interfaceFlushable- Overrides:
flushin classOutputStream- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classOutputStream- Throws:
IOException
-