Package Name: java.io

This package provides Java support for doing both byte- oriented IO (Stream classes) and Unicode-oriented (Reader and Writer) input and output. In addition to Streams, Readers, and Writers, this package defines various File classes. In JDK 1.0, only Stream-oriented classes were available. Those classes, in large part, are now considered deprecated. Because Java natively uses Unicode, it makes more sense to use Reader and Writer classes that do their work based on Unicode characters instead of mere bytes. If bytes are used, Java has to translate Unicode characters into ASCII characters to write them out and back into Unicode characters when it reads them.

This package also provides support for object serialization. This is ...

Get PURE Java™ 2 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.