Liferay 6.2-ce-ga5

com.liferay.portal.kernel.io.unsync
Class UnsyncFilterOutputStream

java.lang.Object
  extended by java.io.OutputStream
      extended by com.liferay.portal.kernel.io.unsync.UnsyncFilterOutputStream
All Implemented Interfaces:
Closeable, Flushable, AutoCloseable
Direct Known Subclasses:
UnsyncBufferedOutputStream

public class UnsyncFilterOutputStream
extends OutputStream

See http://issues.liferay.com/browse/LPS-6648.


Field Summary
protected  OutputStream outputStream
           
 
Constructor Summary
UnsyncFilterOutputStream(OutputStream outputStream)
           
 
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
 

Field Detail

outputStream

protected OutputStream outputStream
Constructor Detail

UnsyncFilterOutputStream

public UnsyncFilterOutputStream(OutputStream outputStream)
Method Detail

close

public void close()
           throws IOException
Specified by:
close in interface Closeable
Specified by:
close in interface AutoCloseable
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

Liferay 6.2-ce-ga5