1. Technology

Input/Output

Articles on how to handle I/0 in Java.

What Is a Path?
Learn how to denote the path of a file as a string.

The Path Interface
An overview of the Path interface introduced in Java 7.

Verifying a File or Directory
How to use the Files class with the Path interface to test if a file or directory is accessible to an application

Deleting, Copying and Moving Files
Using the Files class to delete, copy and move files and directories

Overview of the Java I/O
An overview of the evolution of the Java apis that are used to handle input/output for the Java platform

How to Read and Write Byte Streams
Basic I/O functionality in the java.io enables you to read and write to a binary file one byte at a time.

Binary Stream Example Code
Example Java code to show how to use FileInputStream and FileOutputStream to write to a binary file one byte at a time.

Reading and Writing Character Streams
Use the FileReader and FileWriter classes of java.io to read and write text files one character at a time

Character Stream Example Code
Example Java code for how to use the FileReader and FileWriter classes to read a text file one character at a time.

©2014 About.com. All rights reserved.