The Java Language Environment

CONTENTS | PREV | NEXT The Java Language Environment

9.2 Input Output Package

The package contains the declarations of classes to deal with streams and random-access files. This is where you find the rough equivalent of the Standard I/O Library you're familiar with on most UNIX systems. A further library is called, which provides support for sockets, telnet interfaces, and URLs.

This picture shows the class hierarchy of the I/O package.

Note that the grayed out boxes with DataInput and DataOutput represent interfaces, not classes. Any new I/O class that subclasses one of the other classes can implement the appropriate interface if it needs to.

Copyright © 1997 Sun Microsystems, Inc. All Rights Reserved.
Left Curve
Java SDKs and Tools
Right Curve
Left Curve
Java Resources
Right Curve
Java 8 banner (182)