Package org.apache.xml.security.utils
Class UnsyncBufferedOutputStream
- java.lang.Object
-
- java.io.OutputStream
-
- java.io.FilterOutputStream
-
- org.apache.xml.security.utils.UnsyncBufferedOutputStream
-
- All Implemented Interfaces:
java.io.Closeable,java.io.Flushable,java.lang.AutoCloseable
public class UnsyncBufferedOutputStream extends java.io.FilterOutputStream
-
-
Constructor Summary
Constructors Constructor Description UnsyncBufferedOutputStream(java.io.OutputStream out)UnsyncBufferedOutputStream(java.io.OutputStream out, int size)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidflush()private voidflushInternal()voidwrite(byte[] bytes, int offset, int length)voidwrite(int oneByte)
-
-
-
Method Detail
-
flush
public void flush() throws java.io.IOException- Specified by:
flushin interfacejava.io.Flushable- Overrides:
flushin classjava.io.FilterOutputStream- Throws:
java.io.IOException
-
write
public void write(byte[] bytes, int offset, int length) throws java.io.IOException- Overrides:
writein classjava.io.FilterOutputStream- Throws:
java.io.IOException
-
write
public void write(int oneByte) throws java.io.IOException- Overrides:
writein classjava.io.FilterOutputStream- Throws:
java.io.IOException
-
flushInternal
private void flushInternal() throws java.io.IOException- Throws:
java.io.IOException
-
-