Reader

                         
    java.lang.Object                    
     |                   
     |--java.io.Reader                
                         

Abstract class for reading character streams.

ReturnMethodSummary
abstractvoid close()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.
intread()Reads a single character.
intread(char[] cbuf)Reads characters into an array.
abstract intread(char[] cbuf, int off, int len)Reads characters into a portion of an array.
intread(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.
longskip(long n)Skips characters.
Revised from Open JDK source code
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.