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.OutputStream

Packages that use OutputStream
java.awt.color | Provides classes for color spaces.
java.beans | Contains classes related to developing beans -- components based on the JavaBeansTM 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.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.sql | Provides the API for accessing and processing data stored in a data source (usually a relational database) using the JavaTM 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 JavaTM 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.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 JavaTM 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.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.xml.transform.stream | This package implements stream- and URI- specific transformation APIs.
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.

Uses of OutputStream in java.awt.color

Methods in java.awt.color with parameters of type OutputStream
`void` | `ICC_Profile.write(OutputStream s)` Write this ICC_Profile to an OutputStream.

Uses of OutputStream in java.beans

Constructors in java.beans with parameters of type OutputStream
`XMLEncoder(OutputStream out)` Creates a new output stream for sending JavaBeans to the stream `out` using an XML encoding.

Uses of OutputStream in java.io

Subclasses of OutputStream in java.io
`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.

Fields in java.io declared as OutputStream
`protected OutputStream` | `FilterOutputStream.out` The underlying output stream to be filtered.

Methods in java.io with parameters of type OutputStream
`void` | `ByteArrayOutputStream.writeTo(OutputStream out)` 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)`.

Constructors in java.io with parameters of type OutputStream
`BufferedOutputStream(OutputStream out)` Creates a new buffered output stream to write data to the specified underlying output stream with a default 512-byte buffer size.
`BufferedOutputStream(OutputStream out, int size)` Creates a new buffered output stream to write data to the specified underlying output stream with the specified buffer size.
`DataOutputStream(OutputStream out)` Creates a new data output stream to write data to the specified underlying output stream.
`OutputStreamWriter(OutputStream out, String charsetName)` Create an OutputStreamWriter that uses the named charset.
`OutputStreamWriter(OutputStream out)` Create an OutputStreamWriter that uses the default character encoding.
`OutputStreamWriter(OutputStream out, Charset cs)` Create an OutputStreamWriter that uses the given charset.
`OutputStreamWriter(OutputStream out, CharsetEncoder enc)` Create an OutputStreamWriter that uses the given charset encoder.
`ObjectOutputStream(OutputStream out)` Creates an ObjectOutputStream that writes to the specified OutputStream.
`PrintWriter(OutputStream out)` Create a new PrintWriter, without automatic line flushing, from an existing OutputStream.
`PrintWriter(OutputStream out, boolean autoFlush)` Create a new PrintWriter from an existing OutputStream.
`FilterOutputStream(OutputStream out)` Creates an output stream filter built on top of the specified underlying output stream.
`PrintStream(OutputStream out)` Create a new print stream.
`PrintStream(OutputStream out, boolean autoFlush)` Create a new print stream.
`PrintStream(OutputStream out, boolean autoFlush, String encoding)` Create a new print stream.

Uses of OutputStream in java.lang

Methods in java.lang that return OutputStream
`abstract OutputStream` | `Process.getOutputStream()` Gets the output stream of the subprocess.
`OutputStream` | `Runtime.getLocalizedOutputStream(OutputStream out)` 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.

Methods in java.lang with parameters of type OutputStream
`OutputStream` | `Runtime.getLocalizedOutputStream(OutputStream out)` 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.

Uses of OutputStream in java.net

Methods in java.net that return OutputStream
`OutputStream` | `Socket.getOutputStream()` Returns an output stream for this socket.
`protected abstract OutputStream` | `SocketImpl.getOutputStream()` Returns an output stream for this socket.
`OutputStream` | `URLConnection.getOutputStream()` Returns an output stream that writes to this connection.

Uses of OutputStream in java.nio.channels

Methods in java.nio.channels that return OutputStream
`static OutputStream` | `Channels.newOutputStream(WritableByteChannel ch)` Constructs a stream that writes bytes to the given channel.

Methods in java.nio.channels with parameters of type OutputStream
`static WritableByteChannel` | `Channels.newChannel(OutputStream out)` Constructs a channel that writes bytes to the given stream.

Uses of OutputStream in java.rmi.server

Subclasses of OutputStream in java.rmi.server
`class` | `LogStream` Deprecated. no replacement

Methods in java.rmi.server that return OutputStream
`OutputStream` | `LogStream.getOutputStream()` Deprecated. no replacement

Methods in java.rmi.server with parameters of type OutputStream
`static void` | `RemoteServer.setLog(OutputStream out)` Log RMI calls to the output stream `out`.
`void` | `LogStream.setOutputStream(OutputStream out)` Deprecated. no replacement

Uses of OutputStream in java.security

Subclasses of OutputStream in java.security
`class` | `DigestOutputStream` A transparent stream that updates the associated message digest using the bits going through the stream.

Methods in java.security with parameters of type OutputStream
`abstract void` | `KeyStoreSpi.engineStore(OutputStream stream, char[] password)` Stores this keystore to the given output stream, and protects its integrity with the given password.
`void` | `KeyStore.store(OutputStream stream, char[] password)` Stores this keystore to the given output stream, and protects its integrity with the given password.
`void` | `Certificate.encode(OutputStream stream)` Deprecated. Encodes the certificate to an output stream in a format that can be decoded by the `decode` method.

Constructors in java.security with parameters of type OutputStream
`DigestOutputStream(OutputStream stream, MessageDigest digest)` Creates a digest output stream, using the specified output stream and message digest.

Uses of OutputStream in java.sql

Methods in java.sql that return OutputStream
`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` | `Blob.setBinaryStream(long pos)` Retrieves a stream that can be used to write to the `BLOB` value that this `Blob` object represents.

Uses of OutputStream in java.util

Methods in java.util with parameters of type OutputStream
`void` | `Properties.save(OutputStream out, String header)` Deprecated. This method does not throw an IOException if an I/O error occurs while saving the property list. As of the Java 2 platform v1.2, the preferred way to save a properties list is via the `store(OutputStream out, String header)` method.
`void` | `Properties.store(OutputStream out, String header)` 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` method.

Uses of OutputStream in java.util.jar

Subclasses of OutputStream in java.util.jar
`class` | `JarOutputStream` The `JarOutputStream` class is used to write the contents of a JAR file to any output stream.

Methods in java.util.jar with parameters of type OutputStream
`void` | `Manifest.write(OutputStream out)` Writes the Manifest to the specified OutputStream.

Constructors in java.util.jar with parameters of type OutputStream
`JarOutputStream(OutputStream out, Manifest man)` Creates a new `JarOutputStream` with the specified `Manifest`.
`JarOutputStream(OutputStream out)` Creates a new `JarOutputStream` with no manifest.

Uses of OutputStream in java.util.logging

Methods in java.util.logging with parameters of type OutputStream
`protected void` | `StreamHandler.setOutputStream(OutputStream out)` Change the output stream.

Constructors in java.util.logging with parameters of type OutputStream
`StreamHandler(OutputStream out, Formatter formatter)` Create a `StreamHandler` with a given `Formatter` and output stream.

Uses of OutputStream in java.util.prefs

Methods in java.util.prefs with parameters of type OutputStream
`void` | `AbstractPreferences.exportNode(OutputStream os)` Implements the `exportNode` method as per the specification in `Preferences.exportNode(OutputStream)`.
`void` | `AbstractPreferences.exportSubtree(OutputStream os)` Implements the `exportSubtree` method as per the specification in `Preferences.exportSubtree(OutputStream)`.
`abstract void` | `Preferences.exportNode(OutputStream os)` Emits on the specified output stream an XML document representing all of the preferences contained in this node (but not its descendants).
`abstract void` | `Preferences.exportSubtree(OutputStream os)` Emits an XML document representing all of the preferences contained in this node and all of its descendants.

Uses of OutputStream in java.util.zip

Subclasses of OutputStream in java.util.zip
`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` | `ZipOutputStream` This class implements an output stream filter for writing files in the ZIP file format.

Constructors in java.util.zip with parameters of type OutputStream
`GZIPOutputStream(OutputStream out, int size)` Creates a new output stream with the specified buffer size.
`GZIPOutputStream(OutputStream out)` Creates a new output stream with a default buffer size.
`CheckedOutputStream(OutputStream out, Checksum cksum)` Creates an output stream with the specified Checksum.
`DeflaterOutputStream(OutputStream out, Deflater def, int size)` Creates a new output stream with the specified compressor and buffer size.
`DeflaterOutputStream(OutputStream out, Deflater def)` Creates a new output stream with the specified compressor and a default buffer size.
`DeflaterOutputStream(OutputStream out)` Creates a new output stream with a defaul compressor and buffer size.
`ZipOutputStream(OutputStream out)` Creates a new ZIP output stream.

Uses of OutputStream in javax.crypto

Subclasses of OutputStream in javax.crypto
`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.

Constructors in javax.crypto with parameters of type OutputStream
`CipherOutputStream(OutputStream os, Cipher c)` Constructs a CipherOutputStream from an OutputStream and a Cipher.
`CipherOutputStream(OutputStream os)` Constructs a CipherOutputStream from an OutputStream without specifying a Cipher.

Uses of OutputStream in javax.imageio

Methods in javax.imageio with parameters of type OutputStream
`static boolean` | `ImageIO.write(RenderedImage im, String formatName, OutputStream output)` Writes an image using an arbitrary `ImageWriter` that supports the given format to an `OutputStream`.

Uses of OutputStream in javax.imageio.stream

Constructors in javax.imageio.stream with parameters of type OutputStream
`MemoryCacheImageOutputStream(OutputStream stream)` Constructs a `MemoryCacheImageOutputStream` that will write to a given `OutputStream`.
`FileCacheImageOutputStream(OutputStream stream, File cacheDir)` Constructs a `FileCacheImageOutputStream` that will write to a given `outputStream`.

Uses of OutputStream in javax.print

Methods in javax.print that return OutputStream
`OutputStream` | `StreamPrintService.getOutputStream()` Gets the output stream.

Methods in javax.print with parameters of type OutputStream
`abstract StreamPrintService` | `StreamPrintServiceFactory.getPrintService(OutputStream out)` Returns a `StreamPrintService` that can print to the specified output stream.

Constructors in javax.print with parameters of type OutputStream
`StreamPrintService(OutputStream out)` Constructs a StreamPrintService object.

Uses of OutputStream in javax.sound.midi

Methods in javax.sound.midi with parameters of type OutputStream
`static int` | `MidiSystem.write(Sequence in, int fileType, OutputStream out)` Writes a stream of bytes representing a file of the MIDI file type indicated to the output stream provided.

Uses of OutputStream in javax.sound.midi.spi

Methods in javax.sound.midi.spi with parameters of type OutputStream
`abstract int` | `MidiFileWriter.write(Sequence in, int fileType, OutputStream out)` Writes a stream of bytes representing a MIDI file of the file type indicated to the output stream provided.

Uses of OutputStream in javax.sound.sampled

Methods in javax.sound.sampled with parameters of type OutputStream
`static int` | `AudioSystem.write(AudioInputStream stream, AudioFileFormat.Type fileType, OutputStream out)` Writes a stream of bytes representing an audio file of the specified file type to the output stream provided.

Uses of OutputStream in javax.sound.sampled.spi

Methods in javax.sound.sampled.spi with parameters of type OutputStream
`abstract int` | `AudioFileWriter.write(AudioInputStream stream, AudioFileFormat.Type fileType, OutputStream out)` Writes a stream of bytes representing an audio file of the file type indicated to the output stream provided.

Uses of OutputStream in javax.swing.text

Methods in javax.swing.text with parameters of type OutputStream
`void` | `DefaultEditorKit.write(OutputStream out, Document doc, int pos, int len)` Writes content from a document to the given stream in a format appropriate for this kind of content handler.
`abstract void` | `EditorKit.write(OutputStream out, Document doc, int pos, int len)` Writes content from a document to the given stream in a format appropriate for this kind of content handler.

Uses of OutputStream in javax.swing.text.rtf

Methods in javax.swing.text.rtf with parameters of type OutputStream
`void` | `RTFEditorKit.write(OutputStream out, Document doc, int pos, int len)` Write content from a document to the given stream in a format appropriate for this kind of content handler.

Uses of OutputStream in javax.xml.transform.stream

Methods in javax.xml.transform.stream that return OutputStream
`OutputStream` | `StreamResult.getOutputStream()` Get the byte stream that was set with setOutputStream.

Methods in javax.xml.transform.stream with parameters of type OutputStream
`void` | `StreamResult.setOutputStream(OutputStream outputStream)` Set the ByteStream that is to be written to.

Constructors in javax.xml.transform.stream with parameters of type OutputStream
`StreamResult(OutputStream outputStream)` Construct a StreamResult from a byte stream.

Uses of OutputStream in org.ietf.jgss

Methods in org.ietf.jgss with parameters of type OutputStream
`int` | `GSSContext.initSecContext(InputStream inStream, OutputStream outStream)` 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.acceptSecContext(InputStream inStream, OutputStream outStream)` Called by the context acceptor to process a token from the peer using streams.
`void` | `GSSContext.wrap(InputStream inStream, OutputStream outStream, MessageProp msgProp)` Applies per-message security services over the established security context using streams.
`void` | `GSSContext.unwrap(InputStream inStream, OutputStream outStream, MessageProp msgProp)` Uses streams to process tokens generated by the `wrap` method on the other side of the context.
`void` | `GSSContext.getMIC(InputStream inStream, OutputStream outStream, MessageProp msgProp)` Uses streams to produce a token containing a cryptographic MIC for the supplied message, for transfer to the peer application.

Uses of OutputStream in org.omg.CORBA.portable

Subclasses of OutputStream in org.omg.CORBA.portable
`class` | `OutputStream` OuputStream is the Java API for writing IDL types to CDR marshal streams.

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.