Engineering Full Stack Apps with Java and JavaScript
This is not a complete list, but few important ones. Please refer to the API doc for the complete list and more details.
AudioInputStream
An input stream with a specified audio format and length. The length is expressed in sample frames, not bytes.
ByteArrayInputStream
Contains an internal buffer that contains bytes that may be read from the stream. Note that closing a ByteArrayInputStream has no effect; hence methods in this class can be called even after the stream has been closed without generating an IOException.
FileInputStream
obtains input bytes from a file in a file system.
FilterInputStream
FilterInputStream and its children wrap around other input streams and transform the data providing additional functionality.
ObjectInputStream
deserializes primitive data and objects previously written using an ObjectOutputStream.
PipedInputStream
contains a buffer, decoupling read operations from write operations, within limits. When connected to a piped output stream; the piped input stream provides whatever data bytes are written to the piped output stream.
SequenceInputStream
represents the logical concatenation of other input streams ; reads from the first one, then reads from the second one, and so on until the end of file of the last one is reached.
StringBufferInputStream
create an input stream in which the bytes read are supplied by the contents of a string, but is deprecated in favor of StringReader as StringBufferInputStream does not properly convert characters to bytes. This class is deprecated.
Corresponding output classes of the above InputStream subclasses in OutputStream are ByteArrayOutputStream, FileOutputStream, FilterOutputStream, ObjectOutputStream, OutputStream, PipedOutputStream.
There are no corresponding output streams for AudioInputStream, SequenceInputStream and StringBufferInputStream.
FilterInputStream and its children wrap around other input streams and transform the data providing additional functionality.
FilterInputStream subclasses are:
BufferedInputStream
Adds the ability to buffer the input and to support the mark and reset methods.
CheckedInputStream
maintains a checksum of the data being read.
CipherInputStream
composed of an InputStream and a Cipher so that read methods return data processed by the Cipher.
DataInputStream
read primitive data types from an underlying input stream in a machine-independent way.
DeflaterInputStream
filter for compressing data.
DigestInputStream
updates the associated message digest using the bits going through the stream.
InflaterInputStream
filter for uncompressing data.
LineNumberInputStream -
filter that keep track of the current line number. This class is deprecated.
ProgressMonitorInputStream
creates a progress monitor to monitor the progress of reading the input stream.
PushbackInputStream
adds the ability to "push back" or "unread" one byte.
Corresponding output classes of the above FilterInputStream subclasses in FilterOutputStream are BufferedOutputStream, CheckedOutputStream, CipherOutputStream, DataOutputStream, DeflaterOutputStream, DigestOutputStream and InflaterOutputStream.
PrintStream is also a child of FilterOutputStream.
PrintStream adds the ability to print various data value representations conveniently.
A PrintStream never throws an IOException; instead, set an internal flag in any such cases and the flag can be tested via the checkError method.
BufferedReader
Reads text from a character-input stream, buffering characters. Advisable to wrap a BufferedReader around any Reader whose read() operations may be costly, such as FileReaders and InputStreamReaders.
CharArrayReader
a character buffer that can be used as a character-input stream.
FilterReader
Reading filtered character streams
InputStreamReader
bridge from byte streams to character streams: It reads bytes and decodes them into characters using a specified charset.
PipedReader
Piped character-input streams.
StringReader
A character stream whose source is a string.
LineNumberReader
is a subclass of BufferedReader
keeps track of line numbers.
PushbackReader
is a subclass of FilterReader
allows characters to be pushed back into the stream.
FileReader
is a subclass of InputStreamReader
Convenience class for reading character files.
Uses the default character encoding and the default byte-buffer size.
Subclasses of Writer are: BufferedWriter, CharArrayWriter, FilterWriter, OutputStreamWriter, PipedWriter, PrintWriter, StringWriter, FileWriter which is a subclass of OutputStreamWriter.
PrintWriter prints formatted representations of objects to a text-output stream. Methods in this class never throw I/O exceptions, although some of its constructors may.