Package org.apache.xml.security.utils
Class UnsyncBufferedOutputStream
java.lang.Object
java.io.OutputStream
org.apache.xml.security.utils.UnsyncBufferedOutputStream
- All Implemented Interfaces:
Closeable
,Flushable
,AutoCloseable
A class that buffers writte without synchronize 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:
write
in classOutputStream
- Throws:
IOException
-
write
- Overrides:
write
in classOutputStream
- Throws:
IOException
-
write
- Specified by:
write
in classOutputStream
- Throws:
IOException
-
flush
- Specified by:
flush
in interfaceFlushable
- Overrides:
flush
in classOutputStream
- Throws:
IOException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classOutputStream
- Throws:
IOException
-