This documentation is archived and is not being maintained.

InputStreamReader Constructor (InputStream, String)

Visual Studio 2005

Initializes a new instance of an InputStreamReader object using the given InputStream object as the underlying stream. Also specifies the character encoding of the underlying stream.

Package: java.io

Assembly: vjslib (in vjslib.dll)


public java.io.InputStreamReader(
    java.io.InputStream in,
    java.lang.String enc) throws java.io.UnsupportedEncodingException;

Parameters

in

The underlying input stream to read from.

enc

The character encoding of the input stream (such as Unicode).

Show: