April 16, 2014
Hot Topics:
RSS RSS feed Download our iPhone app

A Categorization Scheme for All Those Java I/O Stream Classes

  • September 2, 2010
  • By Gurunath Kalamadi
  • Send Email »
  • More Articles »

The number of I/O stream classes in Java make it difficult for newbies to choose the right stream for a given application scenario. In his JavaBoutique.com article, Gurunath Kalamadi presents a very useful technique for conceptualizing the Java I/O stream classes, which you won't find it in any documentation.

He suggests separating the streams into two categories:

  1. "Boundary" streams: Boundary stream classes have basic low-level I/O routines to carry out the I/O (interacting with the underlying operating system for I/O operations, if necessary).
  2. "Intermediate" streams: Intermediate stream classes are "chained" to boundary stream classes, carrying out transformations on the data.

Read the full story with examples at JavaBoutique:
Java Programming Basics: I/O Streams


Tags: Java, I/O




Comment and Contribute

 


(Maximum characters: 1200). You have characters left.

 

 


Sitemap | Contact Us

Rocket Fuel