GeezerVison is showing docs.oracle.com — Uses of Class java.io.OutputStream (Java SE 25 & JDK 25)
Uses of Class java.io.OutputStream
Package
Description
Provides a simple high-level Http server API, which can be used to build
embedded HTTP servers.
Provides classes for color spaces.
Contains classes related to developing beans -- components based on
the JavaBeans architecture.
Provides for system input and output through data streams,
serialization and the file system.
Provides classes that are fundamental to the design of the Java
programming language.
Provides the classes for implementing networking applications.
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.
Defines interfaces and classes for the Java virtual machine to access files,
file attributes, and file systems.
Provides classes and interfaces for supporting the server side of RMI.
Provides the classes and interfaces for the security framework.
Provides classes and interfaces for parsing and managing
certificates, certificate revocation lists (CRLs), and
certification paths.
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 classes for reading and writing the JAR (Java ARchive)
file format, which is based on the standard ZIP file format with an
optional manifest file.
Provides the classes and interfaces of
the Java 2 platform's core logging facilities.
This package allows applications to store and retrieve user and system
preference and configuration data.
Provides classes for reading and writing the standard ZIP and GZIP file
formats.
Provides the classes and interfaces for cryptographic
operations.
The main package of the Java Image I/O API.
A package of the Java Image I/O API dealing with low-level I/O from files and
streams.
Provides the principal classes and interfaces for the Java Print
Service API.
Provides interfaces and classes for I/O, sequencing, and synthesis of MIDI
(Musical Instrument Digital Interface) data.
Supplies interfaces for service providers to implement when offering new MIDI
devices, MIDI file readers and writers, or sound bank readers.
Provides interfaces and classes for capture, processing, and playback of
sampled audio data.
Supplies abstract classes for service providers to subclass when offering new
audio devices, sound file readers and writers, or audio format converters.
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.
Provides classes and interfaces that deal with editable and noneditable text
components.
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.
Classes for generating and validating XML digital
signatures.
Defines interfaces and classes for the Streaming API for XML (StAX).
Provides stream and URI specific transformation classes.
Provides implementation support for building JShell execution engines.
This package defines APIs for signing jar files.
This package presents a framework that allows application developers to
make use of security services like authentication, data integrity and
data confidentiality from a variety of underlying security mechanisms
like Kerberos, using a unified API.
Provides interfaces for DOM Level 3 Load and Save.
-
Modifier and Type
Method
Description
Returns a stream to which the response body must be
written.
Modifier and Type
Method
Description
abstract void
-
Modifier and Type
Method
Description
void
Write this ICC_Profile to an OutputStream.
-
Modifier
Constructor
Description
Creates a new XML encoder to write out JavaBeans
to the stream out using an XML encoding.
Creates a new XML encoder to write out JavaBeans
to the stream out using the given charset
starting from the given indentation.
-
Modifier and Type
Class
Description
class
The class implements a buffered output stream.
class
This class implements an output stream in which the data is
written into a byte array.
class
A data output stream lets an application write primitive Java data
types to an output stream in a portable way.
class
A file output stream is an output stream for writing data to a
File or to a FileDescriptor.
class
This class is the superclass of all classes that filter output
streams.
class
An ObjectOutputStream writes primitive data types and graphs of Java objects
to an OutputStream.
class
A piped output stream can be connected to a piped input stream
to create a communications pipe.
class
A PrintStream adds functionality to another output stream,
namely the ability to print representations of various data values
conveniently.
Modifier and Type
Field
Description
The underlying output stream to be filtered.
Modifier and Type
Method
Description
Returns a new OutputStream which discards all bytes.
Modifier and Type
Method
Description
long
Reads all bytes from this input stream and writes the bytes to the
given output stream in the order that they are read.
void
Writes the complete contents of this ByteArrayOutputStream to
the specified output stream argument, as if by calling the output
stream's write method using out.write(buf, 0, count).
Modifier
Constructor
Description
Creates a new buffered output stream to write data to the
specified underlying output stream.
Creates a new buffered output stream to write data to the
specified underlying output stream with the specified buffer
size.
Creates a new data output stream to write data to the specified
underlying output stream.
Creates an output stream filter built on top of the specified
underlying output stream.
Creates an ObjectOutputStream that writes to the specified OutputStream.
Creates an OutputStreamWriter that uses the default character encoding, or
where out is a PrintStream, the charset used by the print
stream.
Creates an OutputStreamWriter that uses the named charset.
Creates an OutputStreamWriter that uses the given charset.
Creates an OutputStreamWriter that uses the given charset encoder.
Creates a new print stream, without automatic line flushing, with the
specified OutputStream.
Creates a new print stream, with the specified OutputStream and line
flushing.
Creates a new print stream, with the specified OutputStream, line
flushing, and character encoding.
Creates a new print stream, with the specified OutputStream, line
flushing and charset.
Creates a new PrintWriter, without automatic line flushing, from an
existing OutputStream.
Creates a new PrintWriter from an existing OutputStream.
Creates a new PrintWriter from an existing OutputStream.
-
Modifier and Type
Method
Description
Returns the output stream connected to the normal input of the
process.
-
Modifier and Type
Method
Description
Returns an OutputStream to which the response body can be
written.
Returns an output stream for this socket.
Returns an output stream for this socket.
Returns an output stream that writes to this connection.
-
Modifier and Type
Method
Description
Constructs a stream that writes bytes to the given channel.
Constructs a stream that writes bytes to the given channel.
Modifier and Type
Method
Description
Constructs a channel that writes bytes to the given stream.
-
Modifier and Type
Method
Description
Opens or creates a file, returning an output stream that may be used to
write bytes to the file.
Modifier and Type
Method
Description
static long
Copies all bytes from a file to an output stream.
-
Modifier and Type
Method
Description
Opens or creates a file, returning an output stream that may be used to
write bytes to the file.
-
Modifier and Type
Class
Description
class
Deprecated.
no replacement
Modifier and Type
Method
Description
Deprecated.
no replacement
Modifier and Type
Method
Description
static void
Log RMI calls to the output stream out.
void
Deprecated.
no replacement
-
Modifier and Type
Class
Description
class
A transparent stream that updates the associated message digest using
the bits going through the stream.
Modifier and Type
Method
Description
void
Deprecated, for removal: This API element is subject to removal in a future version.
Encodes the certificate to an output stream in a format that can
be decoded by the decode method.
abstract void
Stores this keystore to the given output stream, and protects its
integrity with the given password.
final void
Stores this keystore to the given output stream, and protects its
integrity with the given password.
Modifier
Constructor
Description
Creates a digest output stream, using the specified output stream
and message digest.
-
Modifier and Type
Method
Description
void
Generates the extension's DER encoding and writes it to the output
stream.
-
Modifier and Type
Method
Description
Retrieves a stream to be used to write Ascii characters to the
CLOB value that this Clob object represents,
starting at position pos.
Retrieves a stream that can be used to write to the BLOB
value that this Blob object represents.
Retrieves a stream that can be used to write the XML value that this SQLXML instance represents.
-
Modifier and Type
Method
Description
Wraps an output stream for encoding byte data using the Base64
encoding scheme.
Modifier and Type
Method
Description
void
Deprecated.
This method does not throw an IOException if an I/O error
occurs while saving the property list.
void
Writes this property list (key and element pairs) in this
Properties table to the output stream in a format suitable
for loading into a Properties table using the
load(InputStream) method.
void
Emits an XML document representing all of the properties contained
in this table.
void
Emits an XML document representing all of the properties contained
in this table, using the specified encoding.
void
Emits an XML document representing all of the properties contained
in this table, using the specified encoding.
Wraps an output stream for encoding byte data using the Base64
encoding scheme.
Modifier
Constructor
Description
Constructs a new formatter with the specified output stream.
Constructs a new formatter with the specified output stream and
charset.
Constructs a new formatter with the specified output stream, charset,
and locale.
Constructs a new formatter with the specified output stream, charset,
and locale.
-
Modifier and Type
Class
Description
class
The JarOutputStream class is used to write the contents
of a JAR file to any output stream.
Modifier and Type
Method
Description
void
Writes the Manifest to the specified OutputStream.
Modifier
Constructor
Description
Creates a new JarOutputStream with no manifest.
Creates a new JarOutputStream with the specified
Manifest.
-
Modifier and Type
Method
Description
protected void
Change the output stream.
Modifier
Constructor
Description
Create a StreamHandler with a given Formatter
and output stream.
-
Modifier and Type
Method
Description
void
abstract void
Emits on the specified output stream an XML document representing all
of the preferences contained in this node (but not its descendants).
void
abstract void
Emits an XML document representing all of the preferences contained
in this node and all of its descendants.
-
Modifier and Type
Class
Description
class
An output stream that also maintains a checksum of the data being
written.
class
This class implements an output stream filter for compressing data in
the "deflate" compression format.
class
This class implements a stream filter for writing compressed data in
the GZIP file format.
class
Implements an output stream filter for uncompressing data stored in the
"deflate" compression format.
class
This class implements an output stream filter for writing files in the
ZIP file format.
Modifier and Type
Method
Description
long
Reads all bytes from this input stream for the current ZIP entry
and writes the bytes to the given output stream in the order that they
are read.
Modifier
Constructor
Description
Creates an output stream with the specified Checksum.
Creates a new output stream and compressor with the
default compression level and a default buffer size.
Creates a new output stream and compressor with the
default compression level, a default buffer size and
the specified flush mode.
Creates a new output stream with the specified compressor and
a default buffer size.
Creates a new output stream with the specified compressor, flush
mode and a default buffer size.
Creates a new output stream with the specified compressor and
buffer size.
Creates a new output stream with the specified compressor,
buffer size and flush mode.
Creates a new output stream with a default buffer size.
Creates a new output stream with a default buffer size and
the specified flush mode.
Creates a new output stream with the specified buffer size.
Creates a new output stream with the specified buffer size and
flush mode.
Creates a new output stream and decompressor with a
default buffer size.
Creates a new output stream with the specified decompressor and a
default buffer size.
Creates a new output stream with the specified decompressor and
buffer size.
Creates a new ZIP output stream.
Creates a new ZIP output stream.
-
Modifier and Type
Class
Description
class
A CipherOutputStream is composed of an OutputStream
and a Cipher object so that write() methods first process the data
before writing them out to the underlying OutputStream.
Modifier
Constructor
Description
protected
Constructs a CipherOutputStream from an
OutputStream without specifying a Cipher object.
Constructs a CipherOutputStream from an
OutputStream and a Cipher object.
-
Modifier and Type
Method
Description
static boolean
Writes an image using an arbitrary ImageWriter
that supports the given format to an OutputStream.
-
Modifier
Constructor
Description
Constructs a FileCacheImageOutputStream that will write
to a given outputStream.
Constructs a MemoryCacheImageOutputStream that will write
to a given OutputStream.
-
Modifier and Type
Method
Description
Modifier and Type
Method
Description
Returns a StreamPrintService that can print to the specified
output stream.
Modifier
Constructor
Description
protected
Constructs a StreamPrintService object.
-
Modifier and Type
Method
Description
static int
Writes a stream of bytes representing a file of the MIDI file type
indicated to the output stream provided.
-
Modifier and Type
Method
Description
abstract int
Writes a stream of bytes representing a MIDI file of the file type
indicated to the output stream provided.
-
Modifier and Type
Method
Description
static int
Writes a stream of bytes representing an audio file of the specified file
type to the output stream provided.
-
Modifier and Type
Method
Description
abstract int
Writes a stream of bytes representing an audio file of the file type
indicated to the output stream provided.
-
Modifier and Type
Method
Description
void
Writes the data, properties, and metadata for this WebRowSet object
to the given OutputStream object in XML format.
void
Populates this WebRowSet object with
the contents of the given ResultSet object and writes its
data, properties, and metadata
to the given OutputStream object in XML format.
-
Modifier and Type
Method
Description
Retrieves a stream to be used to write Ascii characters to the
CLOB value that this SerialClob object represents,
starting at position pos.
Retrieves a stream that can be used to write to the BLOB
value that this Blob object represents.
-
Modifier and Type
Method
Description
void
Writes content from a document to the given stream
in a format appropriate for this kind of content handler.
abstract void
Writes content from a document to the given stream
in a format appropriate for this kind of content handler.
-
Modifier and Type
Method
Description
void
Write content from a document to the given stream
in a format appropriate for this kind of content handler.
-
Modifier and Type
Method
Description
Returns an OutputStream for this file object.
Returns an OutputStream for this file object.
Modifier and Type
Method
Description
int
Run the tool with the given I/O channels and arguments.
-
Modifier and Type
Method
Description
Transforms the specified data using the underlying transform algorithm.
-
Modifier and Type
Method
Description
Create a new XMLEventWriter that writes to a stream
Create a new XMLEventWriter that writes to a stream
Create a new XMLStreamWriter that writes to a stream
Create a new XMLStreamWriter that writes to a stream
-
Modifier and Type
Method
Description
Get the byte stream that was set with setOutputStream.
Modifier and Type
Method
Description
void
Set the ByteStream that is to be written to.
Modifier
Constructor
Description
Construct a StreamResult from a byte stream.
-
Modifier and Type
Method
Description
static void
Forward commands from the input to the specified ExecutionControl
instance, then responses back on the output.
Creates an ExecutionControl for given packetized input and output.
Modifier and Type
Method
Description
static void
Forward commands from the input to the specified ExecutionControl
instance, then responses back on the output.
Creates an ExecutionControl for given packetized input and output.
-
Modifier and Type
Method
Description
void
-
Modifier and Type
Method
Description
void
Deprecated.
The stream-based methods have been removed from RFC 8353.
void
Deprecated.
The stream-based methods have been removed from RFC 8353.
int
Deprecated.
The stream-based methods have been removed from RFC 8353.
void
Deprecated.
The stream-based methods have been removed from RFC 8353.
void
Deprecated.
The stream-based methods have been removed from RFC 8353.
-
Modifier and Type
Method
Description
An attribute of a language and binding dependent type that represents
a writable stream of bytes.
Modifier and Type
Method
Description
void
An attribute of a language and binding dependent type that represents
a writable stream of bytes.
|