Java I/O - 7 Hour Online Class or 1 Day Classroom Workshop

Learn and use the low-level input/output capabilities of the Java 2 platform, found in the java.io package. Covers an overview of Java I/O, data streams and their use, sources and destinations, stream filters and I/O exceptions; text streams including reader and writer classes and text filters; binary streams including InputStream and OutputStream classes, binary files and filters; serialization including flavors and filters, writing and reading objexts, serializing primitives, transient data, externalization and class versioning; the Console; advanced stream handling including binary streams as text, string and piped streams and Sequence InputStream; using the Java file system; an introduction to the new I/O APIs (Java.nio), and channels & buffers.

Online Class Schedule

Request a Class

 

Request More Info

   

Buy Course Book

 


Topic Summary | Print Version

Class Description:

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.

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.

Audience: This course is intended for developers interested in using low-level Java I/O manipulation in custom applications.

Prerequisites: Students are expected to be familiar with the Java programming language.

Objectives: After successfully completing this course, you will be able 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
  • Identify some of the new features introduced in Java 2 R1.4

Look Inside This Book:

Topic Summary

To Top | Topic Summary