GeezerVison is showing docs.oracle.com — Uses of Class java.io.Reader (Java SE 25 & JDK 25)
Uses of Class java.io.Reader
Package
Description
Provides interfaces and classes for transferring data between and within
applications.
Provides for system input and output through data streams,
serialization and the file system.
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.
Provides the API for accessing and processing data stored in a
data source (usually a relational database) using the
Java programming language.
Contains the collections framework, some internationalization support classes,
a service loader, properties, random number generation, string parsing
and scanning classes, base64 encoding and decoding, a bit array, and
several miscellaneous utility classes.
Provides the principal classes and interfaces for the Java Print
Service API.
The scripting API consists of interfaces and classes that define
Java Scripting Engines and provides
a framework for their use in Java applications.
Provides the API for server side data source access and processing from
the Java programming language.
Standard interfaces and base classes for JDBC RowSet
implementations.
Provides utility classes to allow serializable mappings between SQL types
and data types in the Java programming language.
The standard classes and interfaces that a third party vendor has to
use in its implementation of a synchronization provider.
Provides classes and interfaces that deal with editable and noneditable text
components.
Provides the class HTMLEditorKit and supporting classes for creating
HTML text editors.
Provides the default HTML parser, along with support classes.
Provides a class (RTFEditorKit) for creating Rich-Text-Format text
editors.
Provides interfaces for tools which can be invoked from a program,
for example, compilers.
Defines interfaces and classes for the Streaming API for XML (StAX).
Provides stream and URI specific transformation classes.
This package provides classes to create events and control Flight Recorder.
Provides interfaces for creating tools, such as a Read-Eval-Print Loop (REPL),
which interactively evaluate "snippets" of Java programming language code.
Provides interfaces for DOM Level 3 Load and Save.
Provides the interfaces for the Simple API for XML (SAX).
-
Modifier and Type
Method
Description
Gets a Reader for a text flavor, decoded, if necessary, for the expected
charset (encoding).
-
Modifier and Type
Class
Description
class
Reads text from a character-input stream, buffering characters so as to
provide for the efficient reading of characters, arrays, and lines.
class
This class implements a character buffer that can be used as a
character-input stream.
class
Reads text from character files using a default buffer size.
class
Abstract class for reading filtered character streams.
class
An InputStreamReader is a bridge from byte streams to character streams: It
reads bytes and decodes them into characters using a specified charset.
class
A buffered character-input stream that keeps track of line numbers.
class
Piped character-input streams.
class
A character-stream reader that allows characters to be pushed back into the
stream.
class
A character stream whose source is a string.
Modifier and Type
Field
Description
The underlying character-input stream.
Modifier and Type
Method
Description
Returns a new Reader that reads no characters.
Returns a Reader that reads characters from a
CharSequence.
Retrieves the unique Reader object associated
with this console.
Modifier
Constructor
Description
Creates a buffering character-input stream that uses a default-sized
input buffer.
Creates a buffering character-input stream that uses an input buffer of
the specified size.
protected
Creates a new filtered reader.
Create a new line-numbering reader, using the default input-buffer
size.
Create a new line-numbering reader, reading characters into a buffer of
the given size.
Creates a new pushback reader with a one-character pushback buffer.
Creates a new pushback reader with a pushback buffer of the given size.
Create a tokenizer that parses the given character stream.
-
Modifier and Type
Method
Description
Constructs a reader that decodes bytes from the given channel according
to the named charset.
Constructs a reader that decodes bytes from the given channel according
to the given charset.
Constructs a reader that decodes bytes from the given channel using the
given decoder.
-
Modifier and Type
Method
Description
Retrieves the value of the designated parameter as a
java.io.Reader object in the Java programming language.
Retrieves the value of the designated parameter as a
java.io.Reader object in the Java programming language.
Retrieves the CLOB value designated by this Clob
object as a java.io.Reader object (or as a stream of
characters).
Returns a Reader object that contains
a partial Clob value, starting with the character
specified by pos, which is length characters in length.
Retrieves the value of the designated column in the current row
of this ResultSet object as a
java.io.Reader object.
Retrieves the value of the designated column in the current row
of this ResultSet object as a
java.io.Reader object.
Retrieves the XML value designated by this SQLXML instance as a java.io.Reader object.
Retrieves the value of the designated parameter as a
java.io.Reader object in the Java programming language.
Retrieves the value of the designated parameter as a
java.io.Reader object in the Java programming language.
Retrieves the value of the designated column in the current row
of this ResultSet object as a
java.io.Reader object.
Retrieves the value of the designated column in the current row
of this ResultSet object as a
java.io.Reader object.
Reads the next attribute in the stream and returns it as a stream of Unicode characters.
Modifier and Type
Method
Description
void
Sets the designated parameter to the given Reader
object.
void
Sets the designated parameter to the given Reader
object, which is the given number of characters long.
void
Sets the designated parameter to the given Reader
object, which is the given number of characters long.
void
Sets the designated parameter to the given Reader
object.
void
Sets the designated parameter to the given Reader
object, which is the given number of characters long.
void
Sets the designated parameter to the given Reader
object, which is the given number of characters long.
void
Sets the designated parameter to a Reader object.
void
Sets the designated parameter to a Reader object.
void
Sets the designated parameter to a Reader object.
void
PreparedStatement.setClob(int parameterIndex,
Reader reader,
long length)
Sets the designated parameter to a Reader object.
void
Sets the designated parameter to a Reader object.
void
Sets the designated parameter to a Reader object.
void
Sets the designated parameter to a Reader object.
void
Sets the designated parameter to a Reader object.
void
Sets the designated parameter to a Reader object.
void
Sets the designated parameter to a Reader object.
void
Sets the designated parameter to a Reader object.
void
PreparedStatement.setNClob(int parameterIndex,
Reader reader,
long length)
Sets the designated parameter to a Reader object.
void
Updates the designated column with a character stream value.
void
Updates the designated column with a character stream value, which will have
the specified number of bytes.
void
Updates the designated column with a character stream value, which will have
the specified number of bytes.
void
Updates the designated column with a character stream value.
void
Updates the designated column with a character stream value, which will have
the specified number of bytes.
void
Updates the designated column with a character stream value, which will have
the specified number of bytes.
void
Updates the designated column using the given Reader
object.
void
Updates the designated column using the given Reader
object, which is the given number of characters long.
void
Updates the designated column using the given Reader
object.
void
Updates the designated column using the given Reader
object, which is the given number of characters long.
void
Updates the designated column with a character stream value.
void
Updates the designated column with a character stream value, which will have
the specified number of bytes.
void
Updates the designated column with a character stream value.
void
Updates the designated column with a character stream value, which will have
the specified number of bytes.
void
Updates the designated column using the given Reader
The data will be read from the stream
as needed until end-of-stream is reached.
void
Updates the designated column using the given Reader
object, which is the given number of characters long.
void
Updates the designated column using the given Reader
object.
void
Updates the designated column using the given Reader
object, which is the given number of characters long.
void
Writes the next attribute to the stream as a stream of Unicode characters.
-
Modifier and Type
Method
Description
void
Reads a property list (key and element pairs) from the input
character stream in a simple line-oriented format.
Modifier
Constructor
Description
Creates a property resource bundle from a Reader.
-
Modifier and Type
Method
Description
Obtains a reader for extracting character print data from this doc.
Obtains a reader for extracting character print data from this doc.
-
Modifier and Type
Field
Description
This is the reader to be used for input from scripts.
Modifier and Type
Method
Description
Returns a Reader to be used by the script to read
input.
Returns a Reader to be used by the script to read
input.
Modifier and Type
Method
Description
Compiles the script (source read from Reader) for
later execution.
eval(Reader) calls the abstract
eval(Reader, ScriptContext) passing the value of the context
field.
eval(Reader, Bindings) calls the abstract
eval(Reader, ScriptContext) method, passing it a ScriptContext
whose Reader, Writers and Bindings for scopes other that ENGINE_SCOPE
are identical to those members of the protected context field.
Same as eval(String) except that the source of the script is
provided as a Reader
Same as eval(String, Bindings) except that the source of the script
is provided as a Reader.
Same as eval(String, ScriptContext) where the source of the script
is read from a Reader.
void
Sets the Reader for scripts to read input
.
void
Sets the Reader for scripts to read input
.
-
Modifier and Type
Method
Description
void
Sets the designated parameter in this RowSet object's command
to the given Reader
object.
void
Sets the designated parameter in this RowSet object's command
to the given java.io.Reader value.
void
Sets the designated parameter to the given Reader
object.
void
Sets the designated parameter to the given Reader
object, which is the given number of characters long.
void
Sets the designated parameter to a Reader object.
void
Sets the designated parameter to a Reader object.
void
Sets the designated parameter to a Reader object.
void
Sets the designated parameter to a Reader object.
void
Sets the designated parameter in this RowSet object's command
to a Reader object.
void
Sets the designated parameter to a Reader object.
void
Sets the designated parameter to a Reader object.
void
Sets the designated parameter to a Reader object.
void
Sets the designated parameter to a Reader object.
void
Sets the designated parameter to a Reader object.
void
Sets the designated parameter to a Reader object.
void
Sets the designated parameter to a Reader object.
-
Modifier and Type
Field
Description
The Reader object that will be
returned by the method getCharacterStream,
which is specified in the ResultSet interface.
Modifier and Type
Method
Description
void
Reads a WebRowSet object in its XML format from the given
Reader object.
void
Sets the designated parameter in this RowSet object's command
to the given Reader
object.
void
Sets the designated parameter to the given java.io.Reader
object, which will have the specified number of characters.
void
Sets the designated parameter to the given Reader
object.
void
Sets the designated parameter to the given Reader
object, which is the given number of characters long.
void
Sets the designated parameter to a Reader object.
void
BaseRowSet.setClob(int parameterIndex,
Reader reader,
long length)
Sets the designated parameter to a Reader object.
void
Sets the designated parameter to a Reader object.
void
Sets the designated parameter to a Reader object.
void
Sets the designated parameter in this RowSet object's command
to a Reader object.
void
Sets the designated parameter to a Reader object.
void
Sets the designated parameter to a Reader object.
void
Sets the designated parameter to a Reader object.
void
Sets the designated parameter to a Reader object.
void
Sets the designated parameter to a Reader object.
void
Sets the designated parameter to a Reader object.
void
Sets the designated parameter to a Reader object.
-
Modifier and Type
Method
Description
Returns this SerialClob object's data as a stream
of Unicode characters.
Returns a Reader object that contains a partial
SerialClob value, starting
with the character specified by pos, which is length characters in length.
Retrieves the next attribute in this SQLInputImpl object
as a stream of Unicode characters.
Modifier and Type
Method
Description
void
Writes a stream of Unicode characters to this
SQLOutputImpl object.
-
Modifier and Type
Method
Description
void
Reads and parses the given WebRowSet object from the given
input stream in XML format.
-
Modifier and Type
Method
Description
void
Inserts content from the given stream, which will be
treated as plain text.
abstract void
Inserts content from the given stream which is expected
to be in a format appropriate for this kind of content
handler.
void
Initializes from a stream.
-
Modifier and Type
Method
Description
void
Loads a set of rules that have been specified in terms of
CSS1 grammar.
abstract void
Parse the given stream and drive the given callback
with the results of the parse.
void
Inserts content from the given stream.
-
Modifier and Type
Method
Description
void
Parse an HTML stream, given a DTD.
void
Parse an HTML stream, given a DTD.
void
-
Modifier and Type
Method
Description
void
Insert content from the given stream, which will be
treated as plain text.
-
Modifier and Type
Method
Description
FileObject.openReader(boolean ignoreEncodingErrors)
Returns a reader for this object.
ForwardingFileObject.openReader(boolean ignoreEncodingErrors)
SimpleJavaFileObject.openReader(boolean ignoreEncodingErrors)
Returns a reader for this object.
-
Modifier and Type
Method
Description
Create a new XMLEventReader from a reader.
Create a new XMLEventReader from a reader.
Create a new XMLStreamReader from a reader.
Create a new XMLStreamReader from a java.io.InputStream.
-
Modifier and Type
Method
Description
Get the character stream that was set with setReader.
Modifier and Type
Method
Description
void
Set the input to be a character reader.
Modifier
Constructor
Description
Construct a StreamSource from a character reader.
Construct a StreamSource from a character reader.
-
Modifier and Type
Method
Description
Reads a configuration from a character stream.
-
Modifier and Type
Method
Description
Retrieves the unique Reader object associated
with this console.
-
Modifier and Type
Method
Description
An attribute of a language and binding dependent type that represents
a stream of 16-bit units.
Modifier and Type
Method
Description
void
An attribute of a language and binding dependent type that represents
a stream of 16-bit units.
-
Modifier and Type
Method
Description
Get the character stream for this input source.
Modifier and Type
Method
Description
void
Set the character stream for this input source.
Modifier
Constructor
Description
Create a new input source with a character stream.
|