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.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access