|
New I/0 Functionality for JavaTM 2 Standard Edition 1.4(1)
New I/0 Functionality for JavaTM 2 Standard Edition 1.4 John Zukowski October, 2001 Back in January 2000, while many people were arguing about whether the year 2000 was the last or first year of the century, life began for JSR 51 as an approved Java Specification Request (JSR). The name of that JSR is New I/O APIs for the Java Platform. Many people think of the new capabilities as just offering non-blocking I/O operations. However, the new features introdUCed into the JavaTM 2 Platform, Standard Edition (J2SETM), version 1.4 Beta, include many other new and interesting features. While the API certainly will offer support for scalable I/O operations for both sockets and files, you'll also find a regular eXPression package for pattern matching, encoders and decoders for character set conversions, and improved file system support like file locking and memory mapping. All four of these new features will be covered in this article. Note: The Java Native Interface (JNI) changes made to support the New I/O operations will not be covered. For information on these changes, see the Java.sun.com/developer/technicalArticles/releases/nio/#Resources">Resources section at the end of this article. Buffers
|