The java.io Interfaces

The java.io package declares 10 interfaces. The DataInput and DataOutput interfaces provide methods that support machine-independent I/O. The ObjectInput and ObjectOutput interfaces extend DataInput and DataOutput to work with objects. The ObjectInputValidation interface supports the validation of objects that are read from a stream. The Serializable and Externalizable interfaces support the serialized writing of objects to streams. The FilenameFilter and FileFilter interfaces are used to select filenames from a list. The ObjectStreamConstants interface defines constants that serialize objects to and from streams.

Get Sun Certification Training Guide (310-025, 310-027): Java™ 2 Programmer and Developer Exams 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.