9

I/O and NIO

CERTIFICATION OBJECTIVES

    •    Read and Write Data from the Console

    •    Use Streams to Read From and Write To Files by Using Classes in the java .io Package, Including BufferedReader, BufferedWriter, File, FileReader, FileWriter, DataInputStream, DataOutputStream, ObjectOutputStream, ObjectInputStream, and PrintWriter

    •    Operate on File and Directory Paths with the Path Class (sic)

    •    Check, Delete, Copy, or Move a File or Directory with the Files Class

    •    Read and Change File and Directory Attributes, Focusing on the BasicFileAttributes, DosFileAttributes, and PosixFileAttributes Interfaces

    •    Recursively Access a Directory Tree Using the DirectoryStream and FileVisitor Interfaces

    •    Find ...

Get OCA/OCP Java SE 7 Programmer I & II Study Guide (Exams 1Z0-803 & 1Z0-804) 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.