| Package | Description |
|---|---|
| java.awt.color |
Provides classes for color spaces.
|
| java.beans |
Contains classes related to developing
beans -- components based on the JavaBeans™ architecture.
|
| java.io |
Provides for system input and output through data streams, serialization and the file system.
|
| java.lang |
Provides classes that are fundamental to the design of the Java programming language.
|
| java.net |
Provides the classes for implementing networking applications.
|
| 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.nio.file |
Defines interfaces and classes for the Java virtual machine to access files, file attributes, and file systems.
|
| java.nio.file.spi |
Service-provider classes for the
java.nio.file package.
|
| java.rmi.server |
Provides classes and interfaces for supporting the server side of RMI.
|
| java.security |
Provides the classes and interfaces for the security framework.
|
| java.security.cert |
Provides classes and interfaces for parsing and managing certificates, certificate revocation lists (CRLs), and certification paths.
|
| java.sql |
Provides the API for accessing and processing data stored in a data source (usually a relational database) using the Java
TM programming language.
|
| java.util |
Contains the collections framework, legacy collection classes, event model, date and time facilities, internationalization, and miscellaneous utility classes (a string tokenizer, a random-number generator, and a bit array).
|
| java.util.jar |
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.
|
| java.util.logging |
Provides the classes and interfaces of the Java
TM 2 platform's core logging facilities.
|
| java.util.prefs |
This package allows applications to store and retrieve user and system preference and configuration data.
|
| java.util.zip |
Provides classes for reading and writing the standard ZIP and GZIP file formats.
|
| javax.activation | |
| javax.crypto |
Provides the classes and interfaces for cryptographic operations.
|
| javax.imageio |
The main package of the Java Image I/O API.
|
| javax.imageio.stream |
A package of the Java Image I/O API dealing with low-level I/O from files and streams.
|
| javax.print |
Provides the principal classes and interfaces for the Java
TM Print Service API.
|
| javax.sound.midi |
Provides interfaces and classes for I/O, sequencing, and synthesis of MIDI (Musical Instrument Digital Interface) data.
|
| javax.sound.midi.spi |
Supplies interfaces for service providers to implement when offering new MIDI devices, MIDI file readers and writers, or sound bank readers.
|
| javax.sound.sampled |
Provides interfaces and classes for capture, processing, and playback of sampled audio data.
|
| javax.sound.sampled.spi |
Supplies abstract classes for service providers to subclass when offering new audio devices, sound file readers and writers, or audio format converters.
|
| javax.sql.rowset |
Standard interfaces and base classes for JDBC
RowSet implementations.
|
| javax.sql.rowset.serial |
Provides utility classes to allow serializable mappings between SQL types and data types in the Java programming language.
|
| javax.swing.text |
Provides classes and interfaces that deal with editable and noneditable text components.
|
| javax.swing.text.rtf |
Provides a class (
RTFEditorKit) for creating Rich-Text-Format text editors.
|
| javax.tools |
Provides interfaces for tools which can be invoked from a program, for example, compilers.
|
| javax.xml.bind |
Provides a runtime binding framework for client applications including unmarshalling, marshalling, and validation capabilities.
|
| javax.xml.bind.helpers |
JAXB Provider Use Only: Provides partial default implementations for some of the
javax.xml.bind interfaces.
|
| javax.xml.crypto.dsig |
Classes for generating and validating XML digital signatures.
|
| javax.xml.soap |
Provides the API for creating and building SOAP messages.
|
| javax.xml.stream | |
| javax.xml.transform.stream |
This package implements stream- and URI- specific transformation APIs.
|
| javax.xml.ws.spi.http |
Provides HTTP SPI that is used for portable deployment of JAX-WS web services in containers(for e.g.
|
| org.ietf.jgss |
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.
|
| org.omg.CORBA.portable |
Provides a portability layer, that is, a set of ORB APIs that makes it possible for code generated by one vendor to run on another vendor's ORB.
|
| org.w3c.dom.ls |
| Modifier and Type | Method and Description |
|---|---|
void |
ICC_Profile.write(OutputStream
Write this ICC_Profile to an OutputStream.
|
| Constructor and Description | |
|---|---|
XMLEncoder(OutputStream
Creates a new XML encoder to write out
JavaBeans to the stream
out using an XML encoding.
|
|
XMLEncoder(OutputStream
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 and Description |
|---|---|
class |
BufferedOutputStream
The class implements a buffered output stream.
|
class |
ByteArrayOutputStream
This class implements an output stream in which the data is written into a byte array.
|
class |
DataOutputStream
A data output stream lets an application write primitive Java data types to an output stream in a portable way.
|
class |
FileOutputStream
A file output stream is an output stream for writing data to a
File or to a
FileDescriptor.
|
class |
FilterOutputStream
This class is the superclass of all classes that filter output streams.
|
class |
ObjectOutputStream
An ObjectOutputStream writes primitive data types and graphs of Java objects to an OutputStream.
|
class |
PipedOutputStream
A piped output stream can be connected to a piped input stream to create a communications pipe.
|
class |
PrintStream
A
PrintStream adds functionality to another output stream, namely the ability to print representations of various data values conveniently.
|
| Modifier and Type | Field and Description |
|---|---|
protected OutputStream |
FilterOutputStream.out
The underlying output stream to be filtered.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ByteArrayOutputStream.writeTo(OutputStream
Writes the complete contents of this byte array output stream to the specified output stream argument, as if by calling the output stream's write method using
out.write(buf, 0, count).
|
| Constructor and Description | |
|---|---|
BufferedOutputStream(OutputStream
Creates a new buffered output stream to write data to the specified underlying output stream.
|
|
BufferedOutputStream(OutputStream
Creates a new buffered output stream to write data to the specified underlying output stream with the specified buffer size.
|
|
DataOutputStream(OutputStream
Creates a new data output stream to write data to the specified underlying output stream.
|
|
FilterOutputStream(OutputStream
Creates an output stream filter built on top of the specified underlying output stream.
|
|
ObjectOutputStream(OutputStream
Creates an ObjectOutputStream that writes to the specified OutputStream.
|
|
OutputStreamWriter(OutputStream
Creates an OutputStreamWriter that uses the default character encoding.
|
|
OutputStreamWriter(OutputStream
Creates an OutputStreamWriter that uses the given charset.
|
|
OutputStreamWriter(OutputStream
Creates an OutputStreamWriter that uses the given charset encoder.
|
|
OutputStreamWriter(OutputStream
Creates an OutputStreamWriter that uses the named charset.
|
|
PrintStream(OutputStream
Creates a new print stream.
|
|
PrintStream(OutputStream
Creates a new print stream.
|
|
PrintStream(OutputStream
Creates a new print stream.
|
|
PrintWriter(OutputStream
Creates a new PrintWriter, without automatic line flushing, from an existing OutputStream.
|
|
PrintWriter(OutputStream
Creates a new PrintWriter from an existing OutputStream.
|
| Modifier and Type | Method and Description |
|---|---|
OutputStream |
Runtime.getLocalizedOutputStream(OutputStream
Deprecated.
As of JDK 1.1, the preferred way to translate a Unicode character stream into a byte stream in the local encoding is via the
OutputStreamWriter, BufferedWriter, and PrintWriter classes.
|
abstract OutputStream |
Process.getOutputStream()
Returns the output stream connected to the normal input of the subprocess.
|
| Modifier and Type | Method and Description |
|---|---|
OutputStream |
Runtime.getLocalizedOutputStream(OutputStream
Deprecated.
As of JDK 1.1, the preferred way to translate a Unicode character stream into a byte stream in the local encoding is via the
OutputStreamWriter, BufferedWriter, and PrintWriter classes.
|
| Modifier and Type | Method and Description |
|---|---|
abstract OutputStream |
CacheRequest.getBody()
Returns an OutputStream to which the response body can be written.
|
OutputStream |
Socket.getOutputStream()
Returns an output stream for this socket.
|
OutputStream |
URLConnection.getOutputStream()
Returns an output stream that writes to this connection.
|
protected abstract OutputStream |
SocketImpl.getOutputStream()
Returns an output stream for this socket.
|
| Modifier and Type | Method and Description |
|---|---|
static OutputStream |
Channels.newOutputStream(AsynchronousByteChannel
Constructs a stream that writes bytes to the given channel.
|
static OutputStream |
Channels.newOutputStream(WritableByteChannel
Constructs a stream that writes bytes to the given channel.
|
| Modifier and Type | Method and Description |
|---|---|
static WritableByteChannel |
Channels.newChannel(OutputStream
Constructs a channel that writes bytes to the given stream.
|
| Modifier and Type | Method and Description |
|---|---|
static OutputStream |
Files.newOutputStream(Path
Opens or creates a file, returning an output stream that may be used to write bytes to the file.
|
| Modifier and Type | Method and Description |
|---|---|
static long |
Files.copy(Path
Copies all bytes from a file to an output stream.
|
| Modifier and Type | Method and Description |
|---|---|
OutputStream |
FileSystemProvider.newOutputStream(Path
Opens or creates a file, returning an output stream that may be used to write bytes to the file.
|
| Modifier and Type | Class and Description |
|---|---|
class |
LogStream
Deprecated.
no replacement
|
| Modifier and Type | Method and Description |
|---|---|
OutputStream |
LogStream.getOutputStream()
Deprecated.
no replacement
|
| Modifier and Type | Method and Description |
|---|---|
static void |
RemoteServer.setLog(OutputStream
Log RMI calls to the output stream
out.
|
void |
LogStream.setOutputStream(OutputStream
Deprecated.
no replacement
|
| Modifier and Type | Class and Description |
|---|---|
class |
DigestOutputStream
A transparent stream that updates the associated message digest using the bits going through the stream.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Certificate.encode(OutputStream
Deprecated.
Encodes the certificate to an output stream in a format that can be decoded by the
decode method.
|
abstract void |
KeyStoreSpi.engineStore(OutputStream
Stores this keystore to the given output stream, and protects its integrity with the given password.
|
void |
KeyStore.store(OutputStream
Stores this keystore to the given output stream, and protects its integrity with the given password.
|
| Constructor and Description | |
|---|---|
DigestOutputStream(OutputStream
Creates a digest output stream, using the specified output stream and message digest.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Extension.encode(OutputStream
Generates the extension's DER encoding and writes it to the output stream.
|
| Modifier and Type | Method and Description |
|---|---|
OutputStream |
Clob.setAsciiStream(long pos)
Retrieves a stream to be used to write Ascii characters to the
CLOB value that this
Clob object represents, starting at position
pos.
|
OutputStream |
SQLXML.setBinaryStream()
Retrieves a stream that can be used to write the XML value that this SQLXML instance represents.
|
OutputStream |
Blob.setBinaryStream(long pos)
Retrieves a stream that can be used to write to the
BLOB value that this
Blob object represents.
|
| Modifier and Type | Method and Description |
|---|---|
OutputStream |
Base64.Encoder.wrap(OutputStream
Wraps an output stream for encoding byte data using the
Base64 encoding scheme.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Properties.save(OutputStream
Deprecated.
This method does not throw an IOException if an I/O error occurs while saving the property list. The preferred way to save a properties list is via the
store(OutputStream out, String comments) method or the storeToXML(OutputStream os, String comment) method.
|
void |
Properties.store(OutputStream
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 |
Properties.storeToXML(OutputStream
Emits an XML document representing all of the properties contained in this table.
|
void |
Properties.storeToXML(OutputStream
Emits an XML document representing all of the properties contained in this table, using the specified encoding.
|
OutputStream |
Base64.Encoder.wrap(OutputStream
Wraps an output stream for encoding byte data using the
Base64 encoding scheme.
|
| Constructor and Description | |
|---|---|
Formatter(OutputStream
Constructs a new formatter with the specified output stream.
|
|
Formatter(OutputStream
Constructs a new formatter with the specified output stream and charset.
|
|
Formatter(OutputStream
Constructs a new formatter with the specified output stream, charset, and locale.
|
| Modifier and Type | Class and Description |
|---|---|
class |
JarOutputStream
The
JarOutputStream class is used to write the contents of a JAR file to any output stream.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Pack200.Packer.pack(JarFile
Takes a JarFile and converts it into a Pack200 archive.
|
void |
Pack200.Packer.pack(JarInputStream
Takes a JarInputStream and converts it into a Pack200 archive.
|
void |
Manifest.write(OutputStream
Writes the Manifest to the specified OutputStream.
|
| Constructor and Description | |
|---|---|
JarOutputStream(OutputStream
Creates a new
JarOutputStream with no manifest.
|
|
JarOutputStream(OutputStream
Creates a new
JarOutputStream with the specified
Manifest.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
StreamHandler.setOutputStream(OutputStream
Change the output stream.
|
| Constructor and Description | |
|---|---|
StreamHandler(OutputStream
Create a
StreamHandler with a given
Formatter and output stream.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractPreferences.exportNode(OutputStream
Implements the
exportNode method as per the specification in
Preferences.
|
abstract void |
Preferences.exportNode(OutputStream
Emits on the specified output stream an XML document representing all of the preferences contained in this node (but not its descendants).
|
void |
AbstractPreferences.exportSubtree(OutputStream
Implements the
exportSubtree method as per the specification in
Preferences.
|
abstract void |
Preferences.exportSubtree(OutputStream
Emits an XML document representing all of the preferences contained in this node and all of its descendants.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CheckedOutputStream
An output stream that also maintains a checksum of the data being written.
|
class |
DeflaterOutputStream
This class implements an output stream filter for compressing data in the "deflate" compression format.
|
class |
GZIPOutputStream
This class implements a stream filter for writing compressed data in the GZIP file format.
|
class |
InflaterOutputStream
Implements an output stream filter for uncompressing data stored in the "deflate" compression format.
|
class |
ZipOutputStream
This class implements an output stream filter for writing files in the ZIP file format.
|
| Constructor and Description | |
|---|---|
CheckedOutputStream(OutputStream
Creates an output stream with the specified Checksum.
|
|
DeflaterOutputStream(OutputStream
Creates a new output stream with a default compressor and buffer size.
|
|
DeflaterOutputStream(OutputStream
Creates a new output stream with a default compressor, a default buffer size and the specified flush mode.
|
|
DeflaterOutputStream(OutputStream
Creates a new output stream with the specified compressor and a default buffer size.
|
|
DeflaterOutputStream(OutputStream
Creates a new output stream with the specified compressor, flush mode and a default buffer size.
|
|
DeflaterOutputStream(OutputStream
Creates a new output stream with the specified compressor and buffer size.
|
|
DeflaterOutputStream(OutputStream
Creates a new output stream with the specified compressor, buffer size and flush mode.
|
|
GZIPOutputStream(OutputStream
Creates a new output stream with a default buffer size.
|
|
GZIPOutputStream(OutputStream
Creates a new output stream with a default buffer size and the specified flush mode.
|
|
GZIPOutputStream(OutputStream
Creates a new output stream with the specified buffer size.
|
|
GZIPOutputStream(OutputStream
Creates a new output stream with the specified buffer size and flush mode.
|
|
InflaterOutputStream(OutputStream
Creates a new output stream with a default decompressor and buffer size.
|
|
InflaterOutputStream(OutputStream
Creates a new output stream with the specified decompressor and a default buffer size.
|
|
InflaterOutputStream(OutputStream
Creates a new output stream with the specified decompressor and buffer size.
|
|
ZipOutputStream(OutputStream
Creates a new ZIP output stream.
|
|
ZipOutputStream(OutputStream
Creates a new ZIP output stream.
|
| Modifier and Type | Method and Description |
|---|---|
OutputStream |
DataSource.getOutputStream()
This method returns an
OutputStream where the data can be written and throws the appropriate exception if it can not do so.
|
OutputStream |
FileDataSource.getOutputStream()
This method will return an OutputStream representing the the data and will throw an IOException if it can not do so.
|
OutputStream |
URLDataSource.getOutputStream()
The getOutputStream method from the URL.
|
OutputStream |
DataHandler.getOutputStream()
Get an OutputStream for this DataHandler to allow overwriting the underlying data.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DataContentHandler.writeTo(Object
Convert the object to a byte stream of the specified MIME type and write it to the output stream.
|
void |
DataHandler.writeTo(OutputStream
Write the data to an
OutputStream.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CipherOutputStream
A CipherOutputStream is composed of an OutputStream and a Cipher so that write() methods first process the data before writing them out to the underlying OutputStream.
|
| Constructor and Description | |
|---|---|
CipherOutputStream(OutputStream
Constructs a CipherOutputStream from an OutputStream without specifying a Cipher.
|
|
CipherOutputStream(OutputStream
Constructs a CipherOutputStream from an OutputStream and a Cipher.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
ImageIO.write(RenderedImage
Writes an image using an arbitrary
ImageWriter that supports the given format to an
OutputStream.
|
| Constructor and Description | |
|---|---|
FileCacheImageOutputStream(OutputStream
Constructs a
FileCacheImageOutputStream that will write to a given
outputStream.
|
|
MemoryCacheImageOutputStream(OutputStream
Constructs a
MemoryCacheImageOutputStream that will write to a given
OutputStream.
|
| Modifier and Type | Method and Description |
|---|---|
OutputStream |
StreamPrintService.getOutputStream()
Gets the output stream.
|
| Modifier and Type | Method and Description |
|---|---|
abstract StreamPrintService |
StreamPrintServiceFactory.getPrintService(OutputStream
Returns a
StreamPrintService that can print to the specified output stream.
|
| Constructor and Description | |
|---|---|
StreamPrintService(OutputStream
Constructs a StreamPrintService object.
|
| Modifier and Type | Method and Description |
|---|---|
static int |
MidiSystem.write(Sequence
Writes a stream of bytes representing a file of the MIDI file type indicated to the output stream provided.
|
| Modifier and Type | Method and Description |
|---|---|
abstract int |
MidiFileWriter.write(Sequence
Writes a stream of bytes representing a MIDI file of the file type indicated to the output stream provided.
|
| Modifier and Type | Method and Description |
|---|---|
static int |
AudioSystem.write(AudioInputStream
Writes a stream of bytes representing an audio file of the specified file type to the output stream provided.
|
| Modifier and Type | Method and Description |
|---|---|
abstract int |
AudioFileWriter.write(AudioInputStream
Writes a stream of bytes representing an audio file of the file type indicated to the output stream provided.
|
| Modifier and Type | Method and Description |
|---|---|
void |
WebRowSet.writeXml(OutputStream
Writes the data, properties, and metadata for this
WebRowSet object to the given
OutputStream object in XML format.
|
void |
WebRowSet.writeXml(ResultSet
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 and Description |
|---|---|
OutputStream |
SerialClob.setAsciiStream(long pos)
Retrieves a stream to be used to write Ascii characters to the
CLOB value that this
SerialClob object represents, starting at position
pos.
|
OutputStream |
SerialBlob.setBinaryStream(long pos)
Retrieves a stream that can be used to write to the
BLOB value that this
Blob object represents.
|
| Modifier and Type | Method and Description |
|---|---|
abstract void |
EditorKit.write(OutputStream
Writes content from a document to the given stream in a format appropriate for this kind of content handler.
|
void |
DefaultEditorKit.write(OutputStream
Writes content from a document to the given stream in a format appropriate for this kind of content handler.
|
| Modifier and Type | Method and Description |
|---|---|
void |
RTFEditorKit.write(OutputStream
Write content from a document to the given stream in a format appropriate for this kind of content handler.
|
| Modifier and Type | Method and Description |
|---|---|
OutputStream |
ForwardingFileObject.openOutputStream()
|
OutputStream |
SimpleJavaFileObject.openOutputStream()
This implementation always throws
UnsupportedOperationException.
|
OutputStream |
FileObject.openOutputStream()
Gets an OutputStream for this file object.
|
| Modifier and Type | Method and Description |
|---|---|
int |
Tool.run(InputStream
Run the tool with the given I/O channels and arguments.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Marshaller.marshal(Object
Marshal the content tree rooted at
jaxbElement into an output stream.
|
static void |
JAXB.marshal(Object
Writes a Java object tree to XML and store it to the specified location.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractMarshallerImpl.marshal(Object
|
| Modifier and Type | Method and Description |
|---|---|
Data |
Transform.transform(Data
Transforms the specified data using the underlying transform algorithm.
|
| Modifier and Type | Method and Description |
|---|---|
abstract void |
SOAPMessage.writeTo(OutputStream
Writes this
SOAPMessage object to the given output stream.
|
| Modifier and Type | Method and Description |
|---|---|
abstract XMLEventWriter |
XMLOutputFactory.createXMLEventWriter(OutputStream
Create a new XMLEventWriter that writes to a stream
|
abstract XMLEventWriter |
XMLOutputFactory.createXMLEventWriter(OutputStream
Create a new XMLEventWriter that writes to a stream
|
abstract XMLStreamWriter |
XMLOutputFactory.createXMLStreamWriter(OutputStream
Create a new XMLStreamWriter that writes to a stream
|
abstract XMLStreamWriter |
XMLOutputFactory.createXMLStreamWriter(OutputStream
Create a new XMLStreamWriter that writes to a stream
|
| Modifier and Type | Method and Description |
|---|---|
OutputStream |
StreamResult.getOutputStream()
Get the byte stream that was set with setOutputStream.
|
| Modifier and Type | Method and Description |
|---|---|
void |
StreamResult.setOutputStream(OutputStream
Set the ByteStream that is to be written to.
|
| Constructor and Description | |
|---|---|
StreamResult(OutputStream
Construct a StreamResult from a byte stream.
|
| Modifier and Type | Method and Description |
|---|---|
abstract OutputStream |
HttpExchange.getResponseBody()
Returns a stream to which the response body must be written.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GSSContext.acceptSecContext(InputStream
Called by the context acceptor to process a token from the peer using streams.
|
void |
GSSContext.getMIC(InputStream
Uses streams to produce a token containing a cryptographic MIC for the supplied message, for transfer to the peer application.
|
int |
GSSContext.initSecContext(InputStream
Called by the context initiator to start the context creation phase and process any tokens generated by the peer's
acceptSecContext method using streams.
|
void |
GSSContext.unwrap(InputStream
Uses streams to process tokens generated by the
wrap method on the other side of the context.
|
void |
GSSContext.wrap(InputStream
Applies per-message security services over the established security context using streams.
|
| Modifier and Type | Class and Description |
|---|---|
class |
OutputStream
OuputStream is the Java API for writing IDL types to CDR marshal streams.
|
| Modifier and Type | Method and Description |
|---|---|
OutputStream |
LSOutput.getByteStream()
An attribute of a language and binding dependent type that represents a writable stream of bytes.
|
| Modifier and Type | Method and Description |
|---|---|
void |
LSOutput.setByteStream(OutputStream
An attribute of a language and binding dependent type that represents a writable stream of bytes.
|