Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

Copyright © 2006 Sun Microsystems, Inc. All rights reserved.

Foundation 1.1.2

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.
 

Constructors in java.io with parameters of type Reader
StreamTokenizer(Reader r)
          Create a tokenizer that parses the given character stream.
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.
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.
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.
FilterReader(Reader in)
          Create a new filtered reader.
 


Foundation 1.1.2

Copyright © 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

For more information, please consult the JSR 219 specification.