|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use InputStream | |
java.beans | |
java.io | |
java.lang | |
java.util |
Uses of InputStream in java.beans |
Subclasses of InputStream in java.beans | |
(package private) class |
ObjectInputStreamWithLoader
This subclass of ObjectInputStream delegates loading of classes to an existing ClassLoader. |
Constructors in java.beans with parameters of type InputStream | |
ObjectInputStreamWithLoader.ObjectInputStreamWithLoader(InputStream in,
ClassLoader loader)
Loader must be non-null; |
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 | |
private InputStream |
InputStreamReader.in
|
private InputStream |
StreamTokenizer.input
|
protected InputStream |
FilterInputStream.in
The input stream to be filtered. |
(package private) InputStream |
SequenceInputStream.in
|
private InputStream |
ObjectInputStream.in
|
Constructors in java.io with parameters of type InputStream | |
InputStreamReader.InputStreamReader(InputStream in)
Create an InputStreamReader that uses the default character encoding. |
|
InputStreamReader.InputStreamReader(InputStream in,
String enc)
Create an InputStreamReader that uses the named character encoding. |
|
InputStreamReader.InputStreamReader(InputStream in,
sun.io.ByteToCharConverter btc)
Create an InputStreamReader that uses the specified byte-to-character converter. |
|
StreamTokenizer.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); |
|
FilterInputStream.FilterInputStream(InputStream in)
Creates a FilterInputStream
by assigning the argument in
to the field this.in so as
to remember it for later use. |
|
BufferedInputStream.BufferedInputStream(InputStream in)
Creates a BufferedInputStream
and saves its argument, the input stream
in , for later use. |
|
BufferedInputStream.BufferedInputStream(InputStream in,
int size)
Creates a BufferedInputStream
with the specified buffer size,
and saves its argument, the input stream
in , for later use. |
|
PushbackInputStream.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.PushbackInputStream(InputStream in)
Creates a PushbackInputStream
and saves its argument, the input stream
in , for later use. |
|
DataInputStream.DataInputStream(InputStream in)
Creates a FilterInputStream
and saves its argument, the input stream
in , for later use. |
|
LineNumberInputStream.LineNumberInputStream(InputStream in)
Deprecated. Constructs a newline number input stream that reads its input from the specified input stream. |
|
SequenceInputStream.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 . |
|
ObjectInputStream.ObjectInputStream(InputStream in)
Create an ObjectInputStream that reads from the specified InputStream. |
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 |
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. The search order is described in the documentation for ClassLoader.getSystemResource(String) . |
abstract InputStream |
Process.getInputStream()
Gets the input stream of the subprocess. |
abstract InputStream |
Process.getErrorStream()
Gets the error stream of the subprocess. |
InputStream |
Class.getResourceAsStream(String name)
Finds a resource with a given name. |
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. |
private static InputStream |
System.nullInputStream()
The following two methods exist because in, out, and err must be initialized to null. |
Methods in java.lang with parameters of type 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. |
static void |
System.setIn(InputStream in)
Reassigns the "standard" input stream. |
private static void |
System.setIn0(InputStream in)
|
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.PropertyResourceBundle(InputStream stream)
Creates a property resource |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |