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

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

MID Profile

Uses of Class
java.io.InputStream

Packages that use InputStream
java.io Provides classes for input and output through data streams. 
java.lang Provides classes that are fundamental to the Java programming language. 
javax.microedition.io Classes for the Generic Connection framework. 
javax.microedition.lcdui The UI API provides a set of features for implementation of user interfaces for MIDP applications. 
javax.microedition.media The MIDP 2.0 Media API is a directly compatible building block of the Mobile Media API (JSR-135) specification. 
 

Uses of InputStream in java.io
 

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

Fields in java.io declared as InputStream
protected  InputStream DataInputStream.in
          The input stream.
 

Constructors in java.io with parameters of type InputStream
InputStreamReader(InputStream is)
          Create an InputStreamReader that uses the default character encoding.
InputStreamReader(InputStream is, String enc)
          Create an InputStreamReader that uses the named character encoding.
DataInputStream(InputStream in)
          Creates a DataInputStream and saves its argument, the input stream in, for later use.
 

Uses of InputStream in java.lang
 

Methods in java.lang that return InputStream
 InputStream Class.getResourceAsStream(String name)
          Finds a resource with a given name.
 

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.
 

Uses of InputStream in javax.microedition.lcdui
 

Methods in javax.microedition.lcdui with parameters of type InputStream
static Image Image.createImage(InputStream stream)
          Creates an immutable image from decoded image data obtained from an InputStream.
 

Uses of InputStream in javax.microedition.media
 

Methods in javax.microedition.media with parameters of type InputStream
static Player Manager.createPlayer(InputStream stream, String type)
          Create a Player to play back media from an InputStream.
 


MID Profile

Copyright © 2006 Sun Microsystems, Inc. and Motorola, 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 118 specification.