Liferay 6.1.2-ce-ga3

com.liferay.portal.kernel.io
Class WriterOutputStream

java.lang.Object
  extended by java.io.OutputStream
      extended by com.liferay.portal.kernel.io.WriterOutputStream
All Implemented Interfaces:
Closeable, Flushable

public class WriterOutputStream
extends OutputStream


Constructor Summary
WriterOutputStream(Writer writer)
           
WriterOutputStream(Writer writer, String charsetName)
           
WriterOutputStream(Writer writer, String charsetName, boolean autoFlush)
           
WriterOutputStream(Writer writer, String charsetName, int inputBufferSize, int outputBufferSize)
           
WriterOutputStream(Writer writer, String charsetName, int inputBufferSize, int outputBufferSize, boolean autoFlush)
           
 
Method Summary
 void close()
           
 void flush()
           
 String getEncoding()
           
 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
 

Constructor Detail

WriterOutputStream

public WriterOutputStream(Writer writer)

WriterOutputStream

public WriterOutputStream(Writer writer,
                          String charsetName)

WriterOutputStream

public WriterOutputStream(Writer writer,
                          String charsetName,
                          boolean autoFlush)

WriterOutputStream

public WriterOutputStream(Writer writer,
                          String charsetName,
                          int inputBufferSize,
                          int outputBufferSize)

WriterOutputStream

public WriterOutputStream(Writer writer,
                          String charsetName,
                          int inputBufferSize,
                          int outputBufferSize,
                          boolean autoFlush)
Method Detail

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

getEncoding

public String getEncoding()

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.1.2-ce-ga3