OutputStreamWriter.OutputStreamWriter

OutputStreamWriter.OutputStreamWriter

Class Overview | Class Members | This Package | All Packages

Syntax 1
public OutputStreamWriter( OutputStream out, String enc ) throws UnsupportedEncodingException
Parameters
out
An OutputStream
enc
Name of the encoding to be used
Description
Create an OutputStreamWriter that uses the named character encoding.

Exceptions
UnsupportedEncodingException If the named encoding is not supported



Syntax 2
public OutputStreamWriter( OutputStream out )
Parameters
out
An OutputStream
Description
Create an OutputStreamWriter that uses the default character encoding.