Java java.io InputStreamReader fields, constructors, methods, implement or subclass

Example usage for Java java.io InputStreamReader fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for java.io InputStreamReader.

The text is from its open source code.

Subclass

java.io.InputStreamReader has subclasses.
Click this link to see all its subclasses.

Constructor

InputStreamReader(InputStream in)
Creates an InputStreamReader that uses the default charset.
InputStreamReader(InputStream in, String charsetName)
Creates an InputStreamReader that uses the named charset.
InputStreamReader(InputStream in, Charset cs)
Creates an InputStreamReader that uses the given charset.
InputStreamReader(InputStream in, CharsetDecoder dec)
Creates an InputStreamReader that uses the given charset decoder.

Method

voidclose()
StringgetEncoding()
Returns the name of the character encoding being used by this stream.
intread()
Reads a single character.
intread(char cbuf[], int offset, int length)
Reads characters into a portion of an array.
intread(java.nio.CharBuffer target)
Attempts to read characters into the specified character buffer.
booleanready()
Tells whether this stream is ready to be read.
longskip(long n)
Skips characters.