15. Files, Input/Output Streams, NIO and XML Serialization


In this chapter you’ll:

Image Create, read, write and update files.

Image Retrieve information about files and directories using features of the NIO.2 APIs.

Image Learn the differences between text files and binary files.

Image Use class Formatter to output text to a file.

Use class Scanner to input ...

Get Java® 9 for Programmers, Fourth Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.