Liferay 6.0.5

com.liferay.portal.kernel.io
Class OutputStreamWriter

java.lang.Object
  extended by java.io.Writer
      extended by com.liferay.portal.kernel.io.OutputStreamWriter
All Implemented Interfaces:
Closeable, Flushable, Appendable

public class OutputStreamWriter
extends Writer


Field Summary
 
Fields inherited from class java.io.Writer
lock
 
Constructor Summary
OutputStreamWriter(OutputStream outputStream)
           
OutputStreamWriter(OutputStream outputStream, String charsetName)
           
 
Method Summary
 void close()
           
 void flush()
           
 String getEncoding()
           
 void write(char[] charArray, int offset, int length)
           
 void write(int c)
           
 void write(String string, int offset, int length)
           
 
Methods inherited from class java.io.Writer
append, append, append, write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OutputStreamWriter

public OutputStreamWriter(OutputStream outputStream)

OutputStreamWriter

public OutputStreamWriter(OutputStream outputStream,
                          String charsetName)
Method Detail

close

public void close()
           throws IOException
Specified by:
close in interface Closeable
Specified by:
close in class Writer
Throws:
IOException

flush

public void flush()
           throws IOException
Specified by:
flush in interface Flushable
Specified by:
flush in class Writer
Throws:
IOException

getEncoding

public String getEncoding()

write

public void write(char[] charArray,
                  int offset,
                  int length)
           throws IOException
Specified by:
write in class Writer
Throws:
IOException

write

public void write(int c)
           throws IOException
Overrides:
write in class Writer
Throws:
IOException

write

public void write(String string,
                  int offset,
                  int length)
           throws IOException
Overrides:
write in class Writer
Throws:
IOException

Liferay 6.0.5