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

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

Introduction

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

The text is from its open source code.

Constructor

CharArrayReader(char buf[])
Creates a CharArrayReader from the specified array of chars.
CharArrayReader(char buf[], int offset, int length)
Creates a CharArrayReader from the specified array of chars.

Method

voidclose()
Closes the stream and releases any system resources associated with it.
voidmark(int readAheadLimit)
Marks the present position in the stream.
booleanmarkSupported()
Tells whether this stream supports the mark() operation, which it does.
intread()
Reads a single character.
intread(char b[], int off, int len)
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.
voidreset()
Resets the stream to the most recent mark, or to the beginning if it has never been marked.
longskip(long n)
Skips characters.