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

## Uses of Class
java.io.InputStream

Packages that use InputStream
java.awt | Contains all of the classes for creating user interfaces and for painting graphics and images.
java.awt.color | Provides classes for color spaces.
java.beans.beancontext | Provides classes and interfaces relating to bean context.
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.security | Provides the classes and interfaces for the security framework.
java.security.cert | Provides classes and interfaces for parsing and managing certificates.
java.sql | Provides the API for accessing and processing data in a data source 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.zip | Provides classes for reading and writing the standard ZIP and GZIP file formats.
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 | Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms.
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.
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 InputStream in java.awt

Methods in java.awt with parameters of type InputStream
`static Font` | `Font.createFont(int fontFormat, InputStream fontStream)` Returns a new `Font` with the specified font type and input data.

Uses of InputStream in java.awt.color

Methods in java.awt.color with parameters of type InputStream
`static ICC_Profile` | `ICC_Profile.getInstance(InputStream s)` Constructs an ICC_Profile corresponding to the data in an InputStream.

Uses of InputStream in java.beans.beancontext

Methods in java.beans.beancontext that return InputStream
`InputStream` | `BeanContextSupport.getResourceAsStream(String name, BeanContextChild bcc)`
`InputStream` | `BeanContext.getResourceAsStream(String name, BeanContextChild bcc)` Analagous to `java.lang.ClassLoader.getResourceAsStream()`, this method allows a `BeanContext` implementation to interpose behavior between the child `Component` and underlying `ClassLoader`.

Uses of InputStream in java.io

Subclasses of InputStream in java.io
`class` | `BufferedInputStream` A `BufferedInputStream` adds functionality to another input stream-namely, the ability to buffer the input and to support the `mark` and `reset` methods.
`class` | `ByteArrayInputStream` A `ByteArrayInputStream` contains an internal buffer that contains bytes that may be read from the stream.
`class` | `DataInputStream` A data input stream lets an application read primitive Java data types from an underlying input stream in a machine-independent way.
`class` | `FileInputStream` A `FileInputStream` obtains input bytes from a file in a file system.
`class` | `FilterInputStream` A `FilterInputStream` contains some other input stream, which it uses as its basic source of data, possibly transforming the data along the way or providing additional functionality.
`class` | `LineNumberInputStream` Deprecated. This class incorrectly assumes that bytes adequately represent characters. As of JDK 1.1, the preferred way to operate on character streams is via the new character-stream classes, which include a class for counting line numbers.
`class` | `ObjectInputStream` An ObjectInputStream deserializes primitive data and objects previously written using an ObjectOutputStream.
`class` | `PipedInputStream` A piped input stream should be connected to a piped output stream; the piped input stream then provides whatever data bytes are written to the piped output stream.
`class` | `PushbackInputStream` A `PushbackInputStream` adds functionality to another input stream, namely the ability to "push back" or "unread" one byte.
`class` | `SequenceInputStream` A `SequenceInputStream` represents the logical concatenation of other input streams.
`class` | `StringBufferInputStream` Deprecated. This class does not properly convert characters into bytes. As of JDK 1.1, the preferred way to create a stream from a string is via the `StringReader` class.

Fields in java.io declared as InputStream
`protected InputStream` | `FilterInputStream.in` The input stream to be filtered.

Constructors in java.io with parameters of type InputStream
`FilterInputStream(InputStream in)` Creates a `FilterInputStream` by assigning the argument `in` to the field `this.in` so as to remember it for later use.
> `StreamTokenizer(InputStream is)` Deprecated. As of JDK version 1.1, the preferred way to tokenize an input stream is to convert it into a character stream, for example:
>        Reader r = new BufferedReader(new InputStreamReader(is));
>        StreamTokenizer st = new StreamTokenizer(r);
`ObjectInputStream(InputStream in)` Create an ObjectInputStream that reads from the specified InputStream.
`InputStreamReader(InputStream in)` Create an InputStreamReader that uses the default character encoding.
`InputStreamReader(InputStream in, String enc)` Create an InputStreamReader that uses the named character encoding.
`PushbackInputStream(InputStream in, int size)` Creates a `PushbackInputStream` with a pushback buffer of the specified `size`, and saves its argument, the input stream `in`, for later use.
`PushbackInputStream(InputStream in)` Creates a `PushbackInputStream` and saves its argument, the input stream `in`, for later use.
`BufferedInputStream(InputStream in)` Creates a `BufferedInputStream` and saves its argument, the input stream `in`, for later use.
`BufferedInputStream(InputStream in, int size)` Creates a `BufferedInputStream` with the specified buffer size, and saves its argument, the input stream `in`, for later use.
`SequenceInputStream(InputStream s1, InputStream s2)` Initializes a newly created `SequenceInputStream` by remembering the two arguments, which will be read in order, first `s1` and then `s2`, to provide the bytes to be read from this `SequenceInputStream`.
`DataInputStream(InputStream in)` Creates a `FilterInputStream` and saves its argument, the input stream `in`, for later use.
`LineNumberInputStream(InputStream in)` Deprecated. Constructs a newline number input stream that reads its input from the specified input stream.

Uses of InputStream in java.lang

Fields in java.lang declared as InputStream
`static InputStream` | `System.in` The "standard" input stream.

Methods in java.lang that return InputStream
`InputStream` | `Runtime.getLocalizedInputStream(InputStream in)` Deprecated. As of JDK 1.1, the preferred way translate a byte stream in the local encoding into a character stream in Unicode is via the `InputStreamReader` and `BufferedReader` classes.
`abstract InputStream` | `Process.getInputStream()` Gets the input stream of the subprocess.
`abstract InputStream` | `Process.getErrorStream()` Gets the error stream of the subprocess.
`InputStream` | `ClassLoader.getResourceAsStream(String name)` Returns an input stream for reading the specified resource.
`static InputStream` | `ClassLoader.getSystemResourceAsStream(String name)` Open for reading, a resource of the specified name from the search path used to load classes.
`InputStream` | `Class.getResourceAsStream(String name)` Finds a resource with a given name.

Methods in java.lang with parameters of type InputStream
`static void` | `System.setIn(InputStream in)` Reassigns the "standard" input stream.
`InputStream` | `Runtime.getLocalizedInputStream(InputStream in)` Deprecated. As of JDK 1.1, the preferred way translate a byte stream in the local encoding into a character stream in Unicode is via the `InputStreamReader` and `BufferedReader` classes.

Uses of InputStream in java.net

Methods in java.net that return InputStream
`InputStream` | `URLConnection.getInputStream()` Returns an input stream that reads from this open connection.
`protected abstract InputStream` | `SocketImpl.getInputStream()` Returns an input stream for this socket.
`InputStream` | `Socket.getInputStream()` Returns an input stream for this socket.
`InputStream` | `URL.openStream()` Opens a connection to this `URL` and returns an `InputStream` for reading from that connection.
`InputStream` | `HttpURLConnection.getErrorStream()` Returns the error stream if the connection failed but the server sent useful data nonetheless.

Methods in java.net with parameters of type InputStream
`static String` | `URLConnection.guessContentTypeFromStream(InputStream is)` Tries to determine the type of an input stream based on the characters at the beginning of the input stream.

Uses of InputStream in java.security

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

Methods in java.security with parameters of type InputStream
`void` | `Provider.load(InputStream inStream)` Reads a property list (key and element pairs) from the input stream.
`void` | `Certificate.decode(InputStream stream)` Deprecated. Decodes a certificate from an input stream.
`void` | `KeyStore.load(InputStream stream, char[] password)` Loads this KeyStore from the given input stream.
`abstract void` | `KeyStoreSpi.engineLoad(InputStream stream, char[] password)` Loads the keystore from the given input stream.

Constructors in java.security with parameters of type InputStream
`DigestInputStream(InputStream stream, MessageDigest digest)` Creates a digest input stream, using the specified input stream and message digest.

Uses of InputStream in java.security.cert

Methods in java.security.cert with parameters of type InputStream
`Certificate` | `CertificateFactory.generateCertificate(InputStream inStream)` Generates a certificate object and initializes it with the data read from the input stream `inStream`.
`Collection` | `CertificateFactory.generateCertificates(InputStream inStream)` Returns a (possibly empty) collection view of the certificates read from the given input stream `inStream`.
`CRL` | `CertificateFactory.generateCRL(InputStream inStream)` Generates a certificate revocation list (CRL) object and initializes it with the data read from the input stream `inStream`.
`Collection` | `CertificateFactory.generateCRLs(InputStream inStream)` Returns a (possibly empty) collection view of the CRLs read from the given input stream `inStream`.
`abstract Certificate` | `CertificateFactorySpi.engineGenerateCertificate(InputStream inStream)` Generates a certificate object and initializes it with the data read from the input stream `inStream`.
`abstract Collection` | `CertificateFactorySpi.engineGenerateCertificates(InputStream inStream)` Returns a (possibly empty) collection view of the certificates read from the given input stream `inStream`.
`abstract CRL` | `CertificateFactorySpi.engineGenerateCRL(InputStream inStream)` Generates a certificate revocation list (CRL) object and initializes it with the data read from the input stream `inStream`.
`abstract Collection` | `CertificateFactorySpi.engineGenerateCRLs(InputStream inStream)` Returns a (possibly empty) collection view of the CRLs read from the given input stream `inStream`.

Uses of InputStream in java.sql

Methods in java.sql that return InputStream
`InputStream` | `Blob.getBinaryStream()` Retrieves the `BLOB` designated by this `Blob` instance as a stream.
`InputStream` | `SQLInput.readAsciiStream()` Returns the next attribute in the stream as a stream of ASCII characters.
`InputStream` | `SQLInput.readBinaryStream()` Returns the next attribute in the stream as a stream of uninterpreted bytes.
`InputStream` | `ResultSet.getAsciiStream(int columnIndex)` Gets the value of the designated column in the current row of this `ResultSet` object as a stream of ASCII characters.
`InputStream` | `ResultSet.getUnicodeStream(int columnIndex)` Deprecated. use `getCharacterStream` in place of `getUnicodeStream`
`InputStream` | `ResultSet.getBinaryStream(int columnIndex)` Gets the value of a column in the current row as a stream of Gets the value of the designated column in the current row of this `ResultSet` object as a binary stream of uninterpreted bytes.
`InputStream` | `ResultSet.getAsciiStream(String columnName)` Gets the value of the designated column in the current row of this `ResultSet` object as a stream of ASCII characters.
`InputStream` | `ResultSet.getUnicodeStream(String columnName)` Deprecated.
`InputStream` | `ResultSet.getBinaryStream(String columnName)` Gets the value of the designated column in the current row of this `ResultSet` object as a stream of uninterpreted `byte`s.
`InputStream` | `Clob.getAsciiStream()` Gets the `CLOB` value designated by this `Clob` object as a stream of Ascii bytes.

Methods in java.sql with parameters of type InputStream
`void` | `PreparedStatement.setAsciiStream(int parameterIndex, InputStream x, int length)` Sets the designated parameter to the given input stream, which will have the specified number of bytes.
`void` | `PreparedStatement.setUnicodeStream(int parameterIndex, InputStream x, int length)` Deprecated.
`void` | `PreparedStatement.setBinaryStream(int parameterIndex, InputStream x, int length)` Sets the designated parameter to the given input stream, which will have the specified number of bytes.
`void` | `SQLOutput.writeAsciiStream(InputStream x)` Writes the next attribute to the stream as a stream of ASCII characters.
`void` | `SQLOutput.writeBinaryStream(InputStream x)` Writes the next attribute to the stream as a stream of uninterpreted bytes.
`void` | `ResultSet.updateAsciiStream(int columnIndex, InputStream x, int length)` Updates the designated column with an ascii stream value.
`void` | `ResultSet.updateBinaryStream(int columnIndex, InputStream x, int length)` Updates the designated column with a binary stream value.
`void` | `ResultSet.updateAsciiStream(String columnName, InputStream x, int length)` Updates the designated column with an ascii stream value.
`void` | `ResultSet.updateBinaryStream(String columnName, InputStream x, int length)` Updates the designated column with a binary stream value.

Uses of InputStream in java.util

Methods in java.util with parameters of type InputStream
`void` | `Properties.load(InputStream inStream)` Reads a property list (key and element pairs) from the input stream.

Constructors in java.util with parameters of type InputStream
`PropertyResourceBundle(InputStream stream)` Creates a property resource

Uses of InputStream in java.util.jar

Subclasses of InputStream in java.util.jar
`class` | `JarInputStream` The `JarInputStream` class is used to read the contents of a JAR file from any input stream.

Methods in java.util.jar that return InputStream
`InputStream` | `JarFile.getInputStream(ZipEntry ze)` Returns an input stream for reading the contents of the specified ZIP file entry.

Methods in java.util.jar with parameters of type InputStream
`void` | `Manifest.read(InputStream is)` Reads the Manifest from the specified InputStream.

Constructors in java.util.jar with parameters of type InputStream
`JarInputStream(InputStream in)` Creates a new `JarInputStream` and reads the optional manifest.
`JarInputStream(InputStream in, boolean verify)` Creates a new `JarInputStream` and reads the optional manifest.
`Manifest(InputStream is)` Constructs a new Manifest from the specified input stream.

Uses of InputStream in java.util.zip

Subclasses of InputStream in java.util.zip
`class` | `CheckedInputStream` An input stream that also maintains a checksum of the data being read.
`class` | `GZIPInputStream` This class implements a stream filter for reading compressed data in the GZIP format.
`class` | `InflaterInputStream` This class implements a stream filter for uncompressing data in the "deflate" compression format.
`class` | `ZipInputStream` This class implements an input stream filter for reading files in the ZIP file format.

Methods in java.util.zip that return InputStream
`InputStream` | `ZipFile.getInputStream(ZipEntry entry)` Returns an input stream for reading the contents of the specified zip file entry.

Constructors in java.util.zip with parameters of type InputStream
`InflaterInputStream(InputStream in, Inflater inf, int size)` Creates a new input stream with the specified decompressor and buffer size.
`InflaterInputStream(InputStream in, Inflater inf)` Creates a new input stream with the specified decompressor and a default buffer size.
`InflaterInputStream(InputStream in)` Creates a new input stream with a default decompressor and buffer size.
`ZipInputStream(InputStream in)` Creates a new ZIP input stream.
`CheckedInputStream(InputStream in, Checksum cksum)` Creates an input stream using the specified Checksum.
`GZIPInputStream(InputStream in, int size)` Creates a new input stream with the specified buffer size.
`GZIPInputStream(InputStream in)` Creates a new input stream with a default buffer size.

Uses of InputStream in javax.sound.midi

Methods in javax.sound.midi with parameters of type InputStream
`static Soundbank` | `MidiSystem.getSoundbank(InputStream stream)` Constructs a MIDI sound bank by reading it from the specified stream.
`static MidiFileFormat` | `MidiSystem.getMidiFileFormat(InputStream stream)` Obtains the MIDI file format of the data in the specified input stream.
`static Sequence` | `MidiSystem.getSequence(InputStream stream)` Obtains a MIDI sequence from the specified input stream.
`void` | `Sequencer.setSequence(InputStream stream)` Sets the current sequence on which the sequencer operates.

Uses of InputStream in javax.sound.midi.spi

Methods in javax.sound.midi.spi with parameters of type InputStream
`abstract Soundbank` | `SoundbankReader.getSoundbank(InputStream stream)` Obtains a soundbank object from the `InputStream` provided.
`abstract MidiFileFormat` | `MidiFileReader.getMidiFileFormat(InputStream stream)` Obtains the MIDI file format of the input stream provided.
`abstract Sequence` | `MidiFileReader.getSequence(InputStream stream)` Obtains a MIDI sequence from the input stream provided.

Uses of InputStream in javax.sound.sampled

Subclasses of InputStream in javax.sound.sampled
`class` | `AudioInputStream` An audio input stream is an input stream with a specified audio format and length.

Methods in javax.sound.sampled with parameters of type InputStream
`static AudioFileFormat` | `AudioSystem.getAudioFileFormat(InputStream stream)` Obtains the audio file format of the provided input stream.
`static AudioInputStream` | `AudioSystem.getAudioInputStream(InputStream stream)` Obtains an audio input stream from the provided input stream.

Constructors in javax.sound.sampled with parameters of type InputStream
`AudioInputStream(InputStream stream, AudioFormat format, long length)` Constructs an audio input stream that has the requested format and length in sample frames, using audio data from the specified input stream.

Uses of InputStream in javax.sound.sampled.spi

Methods in javax.sound.sampled.spi with parameters of type InputStream
`abstract AudioFileFormat` | `AudioFileReader.getAudioFileFormat(InputStream stream)` Obtains the audio file format of the input stream provided.
`abstract AudioInputStream` | `AudioFileReader.getAudioInputStream(InputStream stream)` Obtains an audio input stream from the input stream provided.

Uses of InputStream in javax.swing

Subclasses of InputStream in javax.swing
`class` | `ProgressMonitorInputStream` Monitors the progress of reading from some InputStream.

Methods in javax.swing that return InputStream
`protected InputStream` | `JEditorPane.getStream(URL page)` Fetches a stream for the given URL, which is about to be loaded by the `setPage` method.

Methods in javax.swing with parameters of type InputStream
`void` | `JEditorPane.read(InputStream in, Object desc)` This method initializes from a stream.

Constructors in javax.swing with parameters of type InputStream
`ProgressMonitorInputStream(Component parentComponent, Object message, InputStream in)` Constructs an object to monitor the progress of an input stream.

Uses of InputStream in javax.swing.text

Methods in javax.swing.text with parameters of type InputStream
`abstract void` | `EditorKit.read(InputStream 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` | `DefaultEditorKit.read(InputStream 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.

Uses of InputStream in javax.swing.text.rtf

Methods in javax.swing.text.rtf with parameters of type InputStream
`void` | `RTFEditorKit.read(InputStream in, Document doc, int pos)` Insert content from the given stream which is expected to be in a format appropriate for this kind of content handler.

Uses of InputStream in org.omg.CORBA.portable

Subclasses of InputStream in org.omg.CORBA.portable
`class` | `InputStream` InputStream is the Java API for reading IDL types from CDR marshal streams.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| JavaTM 2 Platform Std. Ed. v1.3.1
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.

Java, Java 2D, and JDBC are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-2001 Sun Microsystems, Inc. 901 San Antonio Road
Palo Alto, California, 94303, U.S.A. All Rights Reserved.