Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| J2ME CDC
PREV NEXT | FRAMES NO FRAMES

## Uses of Class
java.io.InputStream

Packages that use InputStream
java.io |
java.lang |
java.net |
java.security |
java.security.cert |
java.util |
java.util.jar |
java.util.zip |
javax.microedition.io |

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

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

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

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.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` | `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.
`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.microedition.io

Methods in javax.microedition.io that return InputStream
`static InputStream` | `Connector.openInputStream(String name)` Create and open a connection input stream
`InputStream` | `InputConnection.openInputStream()` Open and return an input stream for a connection.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| J2ME CDC
PREV NEXT | FRAMES NO FRAMES

Java is a trademark or registred trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-2000 Sun Microsystems, Inc. 901 San Antonio Road,
Palo, Alto, California, 94303, U.S.A All Rights Reserved.