Package | Description |
---|---|
de.toem.pattern.element | |
java.io | |
java.lang |
Provides classes that are fundamental to the design of the Java
programming language.
|
Modifier and Type | Method and Description |
---|---|
InputStream |
IElement.getCellData(de.toem.pattern.threading.IProgress progress) |
InputStream |
IElement.getData(de.toem.pattern.threading.IProgress progress) |
InputStream |
IElement.getResourceData(de.toem.pattern.threading.IProgress progress) |
Modifier and Type | Class and Description |
---|---|
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. |
Constructor and Description |
---|
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. |
DataInputStream(InputStream in)
Creates a DataInputStream that uses the specified
underlying InputStream.
|
InputStreamReader(InputStream in)
Creates an InputStreamReader that uses the default charset.
|
InputStreamReader(InputStream in,
java.nio.charset.Charset cs)
Creates an InputStreamReader that uses the given charset.
|
InputStreamReader(InputStream in,
java.nio.charset.CharsetDecoder dec)
Creates an InputStreamReader that uses the given charset decoder.
|
InputStreamReader(InputStream in,
String charsetName)
Creates an InputStreamReader that uses the named charset.
|
LineNumberInputStream(InputStream in)
Deprecated.
Constructs a newline number input stream that reads its input
from the specified input stream.
|
ObjectInputStream(InputStream in)
Creates an ObjectInputStream that reads from the specified InputStream.
|
PushbackInputStream(InputStream in)
Creates a
PushbackInputStream
and saves its argument, the input stream
in , for later use. |
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. |
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 . |
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); |
Constructor and Description |
---|
SequenceInputStream(java.util.Enumeration<? extends InputStream> e)
Initializes a newly created
SequenceInputStream
by remembering the argument, which must
be an Enumeration that produces
objects whose run-time type is InputStream . |
Modifier and Type | Field and Description |
---|---|
static InputStream |
System.in
The "standard" input stream.
|
Modifier and Type | Method and Description |
---|---|
abstract InputStream |
Process.getErrorStream()
Returns the input stream connected to the error output of the
subprocess.
|
abstract InputStream |
Process.getInputStream()
Returns the input stream connected to the normal output of the
subprocess.
|
InputStream |
Runtime.getLocalizedInputStream(InputStream in)
Deprecated.
As of JDK 1.1, the preferred way to translate a byte
stream in the local encoding into a character stream in Unicode is via
the
InputStreamReader and BufferedReader
classes. |
InputStream |
ClassLoader.getResourceAsStream(String name)
Returns an input stream for reading the specified resource.
|
InputStream |
Class.getResourceAsStream(String name)
Finds a resource with a given name.
|
static InputStream |
ClassLoader.getSystemResourceAsStream(String name)
Open for reading, a resource of the specified name from the search path
used to load classes.
|
Modifier and Type | Method and Description |
---|---|
InputStream |
Runtime.getLocalizedInputStream(InputStream in)
Deprecated.
As of JDK 1.1, the preferred way to 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.
|