com.liferay.portal.kernel.io.unsync
Class UnsyncFilterOutputStream
java.lang.Object
java.io.OutputStream
com.liferay.portal.kernel.io.unsync.UnsyncFilterOutputStream
- All Implemented Interfaces:
- Closeable, Flushable
- Direct Known Subclasses:
- UnsyncBufferedOutputStream
public class UnsyncFilterOutputStream
- extends OutputStream
See http://issues.liferay.com/browse/LPS-6648.
Method Summary |
void |
close()
|
void |
flush()
|
void |
write(byte[] bytes)
|
void |
write(byte[] bytes,
int offset,
int length)
|
void |
write(int b)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
outputStream
protected OutputStream outputStream
UnsyncFilterOutputStream
public UnsyncFilterOutputStream(OutputStream outputStream)
close
public void close()
throws IOException
- Specified by:
close
in interface Closeable
- Overrides:
close
in class OutputStream
- Throws:
IOException
flush
public void flush()
throws IOException
- Specified by:
flush
in interface Flushable
- Overrides:
flush
in class OutputStream
- Throws:
IOException
write
public void write(byte[] bytes)
throws IOException
- Overrides:
write
in class OutputStream
- Throws:
IOException
write
public void write(byte[] bytes,
int offset,
int length)
throws IOException
- Overrides:
write
in class OutputStream
- Throws:
IOException
write
public void write(int b)
throws IOException
- Specified by:
write
in class OutputStream
- Throws:
IOException