The Java I/O Workshop is a one day hands-on class designed to cover the low-level input/output capabilities of the Java 2 platform. This class will, through lecture and hands-on workshops, teach you the ins and outs of Java I/O manipulation.
Java Training Background
Java's I/O functionality, found in the java.io package of the standard library, is built on streams (channels for input or output). Streams can be opened from or to a disk file, a socket, an Internet URL, the console, and other sources or destinations. Java's I/O classes are organized such that once the initial source or destination has been established, all streams are handled the same way.
Java I/O handling can be used to read/write anything from individual bytes to chunks of text to entire live objects. In the latter case, it is the foundation for Java serialization, which lets you save, restore and transmit complete Java objects with ease.
Java Training Prerequisites
Students are expected to be familiar with the Java programming language.
Java Training Course duration
1 Day
Java Training Learning Objectives
This course will teach you to:
Understand the general organization of Java's I/O functionality
Manipulate text and binary streams
Perform object serialization
Manipulate the local file system through Java
Java Training Course outline
Overview of Java I/O
Java I/O
Data Streams
Using Streams
I/O Exceptions
Empty Input Streams
Text Streams
The Reader Class
The Writer Class
Text Filters
Binary Streams
The InputStream Class
The OutputStream Class
Binary Files
Binary Filters
Serialization
What is Serialization?
Serialization Flavors
Serialization Filters
Writing Objects
Reading Objects
Serializing Primitives
Transient Data
Custom Serialization
Externalization
Class Versioning
The Console
Console Input in Java
Console Output in Java
Redirecting the Console
Advanced Stream Handling
Binary Streams as Text
Sources / Destinations
String Streams
Piped Streams
Special Stream Filters
Sequence InputStream
Using the File System in Java
Java & the File System
The File class
FilenameFilter
Hardware/Software Requirements
Hardware Requirements
Intel-based PC Workstation
Windows 95, 98 or NT
Minimum of 64 MB memory
Minimum of 4 KB environment space
Minimum of 70 MB disk space for Java software
Minimum of 120 MB disk space for Java documentation
OR
SUN Solaris/SPARC
Minimum of 64 MB memory
Minimum of 4 KB environment space
Minimum of 70 MB disk space for Java software
Minimum of 120 MB disk space for Java documentation
Software Requirements
Java 2 Standard Edition version 1.3 software and documentation*