Package | Description |
---|---|
java.io |
Input/Output support
|
java.lang |
Core Java classes
|
java.net |
Network communication through TCP and UDP sockets or URLs.
|
java.util |
Utilities
|
tijos.framework.util.json |
JSON-java suppport
|
Modifier and Type | Class and Description |
---|---|
class |
BufferedInputStream
This subclass of
FilterInputStream buffers input from an
underlying implementation to provide a possibly more efficient read
mechanism. |
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
Reads a stream of bytes from a file.
|
class |
FilterInputStream
This is the common superclass of all standard classes that filter
input.
|
class |
PipedInputStream
An input stream that reads its bytes from an output stream
to which it is connected.
|
class |
PushbackInputStream
This subclass of
FilterInputStream provides the ability to
unread data from a stream. |
class |
SequenceInputStream
This class merges a sequence of multiple
InputStream 's in
order to form a single logical stream that can be read by applications
that expect only one stream. |
Constructor and Description |
---|
BufferedInputStream(InputStream in)
This method initializes a new
BufferedInputStream that will
read from the specified subordinate stream with a default buffer size
of 2048 bytes |
BufferedInputStream(InputStream in,
int size)
This method initializes a new
BufferedInputStream that will
read from the specified subordinate stream with a buffer size that
is specified by the caller. |
DataInputStream(InputStream in)
Creates a DataInputStream that uses the specified
underlying InputStream.
|
InputStreamReader(InputStream os) |
InputStreamReader(InputStream os,
String charset) |
LineNumberInputStream(InputStream in)
Deprecated.
Constructs a newline number input stream that reads its input
from the specified input stream.
|
PushbackInputStream(InputStream in)
This method initializes a
PushbackInputStream to
read from the specified subordinate InputStream
with a default pushback buffer size of 1. |
PushbackInputStream(InputStream in,
int size)
This method initializes a
PushbackInputStream to
read from the specified subordinate InputStream with
the specified buffer size |
SequenceInputStream(InputStream s1,
InputStream s2)
This method creates a new
SequenceInputStream that will read
the two specified subordinate InputStream s in sequence. |
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(Enumeration<? extends InputStream> e)
This method creates a new
SequenceInputStream that obtains
its list of subordinate InputStream s from the specified
Enumeration |
Modifier and Type | Field and Description |
---|---|
static InputStream |
System.in |
Modifier and Type | Method and Description |
---|---|
static void |
System.setIn(InputStream in)
Redirect System.in
|
Modifier and Type | Method and Description |
---|---|
InputStream |
Socket.getInputStream()
Returns an InputStream for reading from this socket.
|
Modifier and Type | Method and Description |
---|---|
void |
Properties.load(InputStream inStream)
Reads a property list from the supplied input stream.
|
Constructor and Description |
---|
JSONTokener(InputStream inputStream)
Construct a JSONTokener from an InputStream.
|