NIO stands for New I/O.
The java.nio package was first included in the JDK 1.4 to help the programmer to write fast IO dealing programs. This package is part of JDK 1.5 and JDK 1.6 also. It provides improved performance in buffer management, scalable network and file I/O, character-set support and the regular-expression matching. The sub packages of the java.nio package are:
The java.nio package was first included in the JDK 1.4 to help the programmer to write fast IO dealing programs. This package is part of JDK 1.5 and JDK 1.6 also. It provides improved performance in buffer management, scalable network and file I/O, character-set support and the regular-expression matching. The sub packages of the java.nio package are:
- java.nio
- java.nio.channels
- java.nio.channels.spi
- java.nio.charset
- java.nio.charset.spi
- java.util.regex
- It provides the buffers for data of primitive types
- It provides Charcter-set encoders and decoders
- The support for Perl-style pattern matching using regular expressions
- It introduces the Channels, which a new primitive I/O abstraction
- A file interface supporting locks and memory mapping
- Support for multiplexed, non-blocking I/O for writing scalable servers
- Buffers
- Charsets
- Channels
- java.nio.channels.spi
No comments:
Post a Comment