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

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

Introduction

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

The text is from its open source code.

Subclass

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

Implementation

java.io.StringReader has the following implementations.
Click this link to see all its implementation.

Field

intmark

Constructor

StringReader(String s)
Creates a new string reader.

Method

voidclose()
Closes the stream and releases any system resources associated with it.
booleanmarkSupported()
Tells whether this stream supports the mark() operation, which it does.
intread()
Reads a single character.
intread(java.nio.CharBuffer target)
Attempts to read characters into the specified character buffer.
intread(char cbuf[], int off, int len)
Reads characters into a portion of an array.
booleanready()
Tells whether this stream is ready to be read.
voidreset()
Resets the stream to the most recent mark, or to the beginning of the string if it has never been marked.
longskip(long ns)
Skips the specified number of characters in the stream.
StringtoString()
Returns a string representation of the object.