Java Reference
In-Depth Information
public
InputStreamReader(InputStream in, CharsetDecoder c)
Creates an
InputStreamReader
to read from the given
In-
putStream
using the given character set decoder.
public
InputStreamReader(InputStream in, String enc)
throws Unsup-
portedEncodingException
Creates an
InputStreamReader
to read from the given
In-
putStream
using the named character set encoding. If the
named encoding is not supported an
UnsupportedEncodingExcep-
tion
is thrown.
public
OutputStreamWriter(OutputStream out)
Creates an
OutputStreamWriter
to write to the given
Out-
putStream
using the default character set encoding.
public
OutputStreamWriter(OutputStream out, Charset c)
Creates an
OutputStreamWriter
to write to the given
Out-
putStream
using the given character set encoding.
public
OutputStreamWriter(OutputStream out, CharsetEncoder c)
Creates an
OutputStreamWriter
to write to the given
Out-
putStream
using the given character set encoder.
public
OutputStreamWriter(OutputStream out, String enc)
tHRows Un-
supportedEncodingException
Creates an
OutputStreamWriter
to write to the given
Out-
putStream
using the named character set encoding. If the
named encoding is not supported an
UnsupportedEncodingExcep-
tion
is thrown.