Chapter 15. The java.io Package

OBJECTIVES

This chapter helps you prepare for the exam by covering the following Sun testing objectives from the unit “The Java.io Package”:

Write code that uses objects of the File class to navigate a file system.

  • Java uses the File class to represent files and directories in a platform independent way.

Write code that uses objects of the classes InputStreamReader and OutputStreamWrite to translate between Unicode and either platform default or ISO 8859-1 character encoding. Distinguish between conditions under which platform default encoding conversion should be used and conditions under which a specific conversion should be used.

  • Understanding how the Reader and Writer classes perform character encoding is ...

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.