org.apache.xml.security.utils
Class UnsyncBufferedOutputStream
java.lang.Object
java.io.OutputStream
org.apache.xml.security.utils.UnsyncBufferedOutputStream
- public class UnsyncBufferedOutputStream
- extends java.io.OutputStream
A class that buffers writte without synchronize its methods
- Author:
- raul
Method Summary |
void |
close()
|
void |
flush()
|
void |
write(byte[] arg0)
|
void |
write(byte[] arg0,
int arg1,
int len)
|
void |
write(int arg0)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UnsyncBufferedOutputStream
public UnsyncBufferedOutputStream(java.io.OutputStream out)
- Creates a buffered output stream without synchronization
- Parameters:
out
- the outputstream to buffer
write
public void write(byte[] arg0)
throws java.io.IOException
- Throws:
java.io.IOException
write
public void write(byte[] arg0,
int arg1,
int len)
throws java.io.IOException
- Throws:
java.io.IOException
write
public void write(int arg0)
throws java.io.IOException
- Throws:
java.io.IOException
flush
public void flush()
throws java.io.IOException
- Throws:
java.io.IOException
close
public void close()
throws java.io.IOException
- Throws:
java.io.IOException