InputStreamReader.InputStreamReader

Class Overview | Class Members | This Package | All Packages

Syntax 1

public InputStreamReader( InputStream in )

Parameters
  • in
    An InputStream
Description

Create an InputStreamReader that uses the default character encoding.

Syntax 2

public InputStreamReader( InputStream in**, String** enc ) throws UnsupportedEncodingException

Parameters
  • in
    An InputStream
  • enc
    Name of encoding to be used
Description

Create an InputStreamReader that uses the named character encoding.

Exceptions

UnsupportedEncodingException If the named encoding is not supported