English
Topic 12. Working with files: I/O streams, NIO.2, and object serialization
Goal: learn to read and write text and binary formats, close resources, and verify the integrity and validity of data.
Lecture contents
- Paths, streams, and encoding — Paths and the working directory · Bytes, characters, and resources · Encodings and lines
- Text and binary data — Text formats and line validation · Binary copying and numeric formats
- Files and NIO.2 directories — Files and the directory lifecycle · Reliable updates, configuration, and archives
- Object serialization — Serializing an object graph · Testing a file-processing program