|
|
java.io output classes |
page 7
of 11 |
The CLDC API contains many of the commonly used output classes from J2SE. In
particular, the CLDC java.io package includes the following output classes:
ByteArrayOutputStream
-- Implements an output stream where data is written into a bytes array.
DataOutput
-- An interface that provides for writing primitive Java data types to a binary output
stream. DataOutputStream
provides an implementation of this interface.
DataOutputStream
-- An output stream that allows an application to write primitive Java data types in a
portable way.
OutputStream
-- An abstract class that is the superclass of all classes representing an output stream
of bytes.
OutputStreamReader
-- Given characters, translates them into bytes according to a specified character
encoding.
PrintStream
-- Adds a convenient way to print a textual representation of data values.
Writer
-- An abstract class for writing character streams.
Some of these classes may not contain all the methods supported by J2SE, such as the
floating point and double precision methods.
|