Skip to main content


developerWorks  >  Java technology  >

Getting started with new I/O (NIO)

developerWorks

Level: Introductory

Greg Travis (mito@panix.com), Java programmer and technology writer, Independent

09 Jul 2003

Register now or sign in using your IBM ID and password.

The new input/output (NIO) library, introduced with JDK 1.4, provides high-speed, block-oriented I/O in standard Java™ code. This hands-on tutorial covers the NIO library in great detail, from the high-level concepts to under-the-hood programming detail. You'll learn about crucial I/O elements like buffers and channels, and examine how standard I/O works in the updated library.

Prerequisites

While this tutorial does require a working vocabulary and conceptual understanding of the Java language, it does not require a lot of actual programming experience. You should understand basic Java programming concepts such as classes, inheritance, and using packages. Some familiarity with the original I/O library (from the java.io.* package) will also be helpful.


System requirements

You will need to have JDK 1.4 installed and in your path to complete the exercises in the tutorial.



Duration

Under one hour


Formats

html, pdf


Share this....

digg Digg this story del.icio.us del.icio.us Slashdot Slashdot it!


Back to top


Document options

Document options requiring JavaScript are not displayed


My developerWorks needs you!

Connect to your technical community