Skip to main content

Section 09 · Stage 3: Master Java

Files, I/O & Robust Error Handling

Read and write files with java.nio, handle resources safely and design error handling that real applications can rely on.

What you will be able to do

  • Create, read, copy, move and delete files and folders with java.nio.file
  • Read and write text and binary data with the right reader, writer or stream
  • Close every resource safely with try-with-resources, including your own classes
  • Process CSV and other text formats and handle bad lines without crashing
  • Design exceptions and error messages that a real application can rely on

What you will learn

  1. 9.1Exceptions in Depth9 lessons
  2. 9.2try-with-resources in Depth8 lessons
  3. 9.3Paths & Files9 lessons
  4. 9.4Reading & Writing Text Files9 lessons
  5. 9.5Byte & Character Streams9 lessons
  6. 9.6CSV & Structured Text8 lessons
  7. 9.7Serialization Basics8 lessons
  8. 9.8Designing Error Handling10 lessons
  9. 9.9Files & I/O Mini Projects5 lessons