J2EEOnline
GofPatterns OOPortal
prev next prev next
  Course navigation
 
Lesson 1
Writing data with streams
    Module introduction
This module introduces how to use streams to write data. In addition, you will learn how to use various methods to make using output streams more efficient.
In this module, you will learn the following:
  1. How to copy a file to System.out with maximum efficiency
  2. When to flush and close an output stream
  3. How to use file streams

As in the previous module, all data in this module will be raw bytes. Later modules will show you how to read and write data without explicitly converting it to and from bytes first.
  Course navigation