Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| JavaTM 2 Platform Std. Ed. v1.4.2
PREV NEXT | FRAMES NO FRAMES

## Uses of Class
java.io.Reader

Packages that use Reader
java.awt.datatransfer | Provides interfaces and classes for transferring data between and within applications.
java.io | Provides for system input and output through data streams, serialization and the file system.
java.nio.channels | Defines channels, which represent connections to entities that are capable of performing I/O operations, such as files and sockets; defines selectors, for multiplexed, non-blocking I/O operations.
java.sql | Provides the API for accessing and processing data stored in a data source (usually a relational database) using the JavaTM programming language.
javax.print | Provides the principal classes and interfaces for the JavaTM Print Service API.
javax.sql | Provides the API for server side data source access and processing from the JavaTM programming language.
javax.swing.text | Provides classes and interfaces that deal with editable and noneditable text components.
javax.swing.text.html | Provides the class `HTMLEditorKit` and supporting classes for creating HTML text editors.
javax.swing.text.html.parser | Provides the default HTML parser, along with support classes.
javax.swing.text.rtf | Provides a class (`RTFEditorKit`) for creating Rich-Text-Format text editors.
javax.xml.transform.stream | This package implements stream- and URI- specific transformation APIs.
org.xml.sax | Provides the classes and interfaces for the Simple API for XML (SAX) which is a component of the Java API for XML Processing.

Uses of Reader in java.awt.datatransfer

Methods in java.awt.datatransfer that return Reader
`Reader` | `DataFlavor.getReaderForText(Transferable transferable)` Gets a Reader for a text flavor, decoded, if necessary, for the expected charset (encoding).

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 decodes them into characters using a specified ``charset``.
`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
`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.
`FilterReader(Reader in)` Create a new filtered reader.
`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.
`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.
`StreamTokenizer(Reader r)` Create a tokenizer that parses the given character stream.

Uses of Reader in java.nio.channels

Methods in java.nio.channels that return Reader
`static Reader` | `Channels.newReader(ReadableByteChannel ch, CharsetDecoder dec, int minBufferCap)` Constructs a reader that decodes bytes from the given channel using the given decoder.
`static Reader` | `Channels.newReader(ReadableByteChannel ch, String csName)` Constructs a reader that decodes bytes from the given channel according to the named charset.

Uses of Reader in java.sql

Methods in java.sql that return Reader
`Reader` | `SQLInput.readCharacterStream()` Reads the next attribute in the stream and returns it as a stream of Unicode characters.
`Reader` | `Clob.getCharacterStream()` Retrieves the `CLOB` value designated by this `Clob` object as a `java.io.Reader` object (or as a stream of characters).
`Reader` | `ResultSet.getCharacterStream(int columnIndex)` Retrieves the value of the designated column in the current row of this `ResultSet` object as a `java.io.Reader` object.
`Reader` | `ResultSet.getCharacterStream(String columnName)` Retrieves the value of the designated column in the current row of this `ResultSet` object as a `java.io.Reader` object.

Methods in java.sql with parameters of type Reader
`void` | `SQLOutput.writeCharacterStream(Reader x)` Writes the next attribute to the stream as a stream of Unicode characters.
`void` | `CallableStatement.setCharacterStream(String parameterName, Reader reader, int length)` Sets the designated parameter to the given `Reader` object, which is the given number of characters long.
`void` | `PreparedStatement.setCharacterStream(int parameterIndex, Reader reader, int length)` Sets the designated parameter to the given `Reader` object, which is the given number of characters long.
`void` | `ResultSet.updateCharacterStream(int columnIndex, Reader x, int length)` Updates the designated column with a character stream value.
`void` | `ResultSet.updateCharacterStream(String columnName, Reader reader, int length)` Updates the designated column with a character stream value.

Uses of Reader in javax.print

Methods in javax.print that return Reader
`Reader` | `SimpleDoc.getReaderForText()` Obtains a reader for extracting character print data from this doc.
`Reader` | `Doc.getReaderForText()` Obtains a reader for extracting character print data from this doc.

Uses of Reader in javax.sql

Methods in javax.sql with parameters of type Reader
`void` | `RowSet.setCharacterStream(int parameterIndex, Reader reader, int length)` Sets the designated parameter in this `RowSet` object's command to the given `java.io.Reader` value.

Uses of Reader in javax.swing.text

Methods in javax.swing.text with parameters of type Reader
`void` | `DefaultEditorKit.read(Reader in, Document doc, int pos)` Inserts content from the given stream, which will be treated as plain text.
`abstract void` | `EditorKit.read(Reader in, Document doc, int pos)` Inserts content from the given stream which is expected to be in a format appropriate for this kind of content handler.
`void` | `JTextComponent.read(Reader in, Object desc)` Initializes from a stream.

Uses of Reader in javax.swing.text.html

Methods in javax.swing.text.html with parameters of type Reader
`void` | `HTMLEditorKit.read(Reader in, Document doc, int pos)` Inserts content from the given stream.
`abstract void` | `HTMLEditorKit.Parser.parse(Reader r, HTMLEditorKit.ParserCallback cb, boolean ignoreCharSet)` Parse the given stream and drive the given callback with the results of the parse.
`void` | `StyleSheet.loadRules(Reader in, URL ref)` Loads a set of rules that have been specified in terms of CSS1 grammar.

Uses of Reader in javax.swing.text.html.parser

Methods in javax.swing.text.html.parser with parameters of type Reader
`void` | `ParserDelegator.parse(Reader r, HTMLEditorKit.ParserCallback cb, boolean ignoreCharSet)`
`void` | `Parser.parse(Reader in)` Parse an HTML stream, given a DTD.
`void` | `DocumentParser.parse(Reader in, HTMLEditorKit.ParserCallback callback, boolean ignoreCharSet)`

Uses of Reader in javax.swing.text.rtf

Methods in javax.swing.text.rtf with parameters of type Reader
`void` | `RTFEditorKit.read(Reader in, Document doc, int pos)` Insert content from the given stream, which will be treated as plain text.

Uses of Reader in javax.xml.transform.stream

Methods in javax.xml.transform.stream that return Reader
`Reader` | `StreamSource.getReader()` Get the character stream that was set with setReader.

Methods in javax.xml.transform.stream with parameters of type Reader
`void` | `StreamSource.setReader(Reader reader)` Set the input to be a character reader.

Constructors in javax.xml.transform.stream with parameters of type Reader
`StreamSource(Reader reader)` Construct a StreamSource from a character reader.
`StreamSource(Reader reader, String systemId)` Construct a StreamSource from a character reader.

Uses of Reader in org.xml.sax

Methods in org.xml.sax that return Reader
`Reader` | `InputSource.getCharacterStream()` Get the character stream for this input source.

Methods in org.xml.sax with parameters of type Reader
`void` | `InputSource.setCharacterStream(Reader characterStream)` Set the character stream for this input source.

Constructors in org.xml.sax with parameters of type Reader
`InputSource(Reader characterStream)` Create a new input source with a character stream.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| JavaTM 2 Platform Std. Ed. v1.4.2
PREV NEXT | FRAMES NO FRAMES

Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright 2003 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.