Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

Copyright © 2006 Sun Microsystems, Inc. All rights reserved.

CDC 1.1.2

Uses of Class
java.io.InputStream

Packages that use InputStream
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.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.microedition.io Provides a simplified mechanism for applications to use various types of I/O protocols in resource-constrained environments. 
 

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.
 

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
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.
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.
ObjectInputStream(InputStream in)
          Creates an ObjectInputStream that reads from the specified 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.
DataInputStream(InputStream in)
          Creates a DataInputStream that uses the specified underlying InputStream.
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.
 

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.
 InputStream URL.openStream()
          Opens a connection to this URL and returns an InputStream for reading from that connection.
 

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
 

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.
 

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

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
Manifest(InputStream is)
          Constructs a new Manifest from the specified input stream.
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.
 

Uses of InputStream in java.util.zip
 

Subclasses of InputStream in java.util.zip
 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
ZipInputStream(InputStream in)
          Creates a new ZIP input stream.
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.
 

Uses of InputStream in javax.microedition.io
 

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


CDC 1.1.2

Copyright © 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

For more information, please consult the JSR 218 specification.