J2ME Foundation

Uses of Class
java.io.Reader

Packages that use Reader
java.io Provides for system input and output through data streams, serialization and the file system. 
 

Uses of Reader in java.io
 

Subclasses of Reader in java.io
 class BufferedReader
          Read text from a character-input stream, buffering characters so as to provide for the efficient reading of characters, arrays, and lines.
 class CharArrayReader
          This class implements a character buffer that can be used as a character-input stream.
 class FileReader
          Convenience class for reading character files.
 class FilterReader
          Abstract class for reading filtered character streams.
 class InputStreamReader
          An InputStreamReader is a bridge from byte streams to character streams: It reads bytes and translates them into characters according to a specified character encoding.
 class LineNumberReader
          A buffered character-input stream that keeps track of line numbers.
 class PipedReader
          Piped character-input streams.
 class PushbackReader
          A character-stream reader that allows characters to be pushed back into the stream.
 class StringReader
          A character stream whose source is a string.
 

Fields in java.io declared as Reader
protected  Reader FilterReader.in
          The underlying character-input stream, or null if the stream has been closed.
 

Constructors in java.io with parameters of type Reader
FilterReader(Reader in)
          Create a new filtered reader.
PushbackReader(Reader in, int size)
          Create a new pushback reader with a pushback buffer of the given size.
PushbackReader(Reader in)
          Create a new pushback reader with a one-character pushback buffer.
BufferedReader(Reader in, int sz)
          Create a buffering character-input stream that uses an input buffer of the specified size.
BufferedReader(Reader in)
          Create a buffering character-input stream that uses a default-sized input buffer.
LineNumberReader(Reader in)
          Create a new line-numbering reader, using the default input-buffer size.
LineNumberReader(Reader in, int sz)
          Create a new line-numbering reader, reading characters into a buffer of the given size.
StreamTokenizer(Reader r)
          Create a tokenizer that parses the given character stream.
 


J2ME Foundation

Java is a trademark or registred trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-2000 Sun Microsystems, Inc. 901 San Antonio Road,
Palo, Alto, California, 94303, U.S.A All Rights Reserved. < /font >