Name
Package java.io
Synopsis
This package, whose class hierarchy is shown in Figure 11-1, contains interfaces and classes used to access input and output sources and treat them either as a sequence of 8-bit bytes or 16-bit characters.
The CLDC version of this package contains only the basic classes and
interfaces from its J2SE counterpart that provide 8-bit input and output,
together with support for Unicode conversion using the
InputStreamReader
and OutputStreamWriter
classes. Most of the concrete input and output stream and reader/writer
classes available in J2SE are not provided. In addition, some abstract
classes (such as FilterInputStream
) are also omitted so
that derived classes in CLDC are reparented directly to
InputStream
or OutputStream
.
Get J2ME in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.