<P> java. nio (NIO stands for non-blocking I / O) is a collection of Java programming language APIs that offer features for intensive I / O operations . It was introduced with the J2SE 1.4 release of Java by Sun Microsystems to complement an existing standard I / O. NIO was developed under the Java Community Process as JSR 51 . An extension to NIO that offers a new file system API, called NIO. 2, was released with Java SE 7 ("Dolphin"). </P> <P> The APIs of NIO were designed to provide access to the low - level I / O operations of modern operating systems . Although the APIs are themselves relatively high - level, the intent is to facilitate an implementation that can directly use the most efficient operations of the underlying platform . </P> <P> The Java NIO APIs are provided in the java. nio package and its subpackages . The documentation by Oracle identifies these features . </P> <Ul> <Li> Buffers for data of primitive types </Li> <Li> Character set encoders and decoders </Li> <Li> A pattern - matching facility based on Perl - style regular expressions (in package java. util. regex) </Li> <Li> Channels, a new primitive I / O abstraction </Li> <Li> A file interface that supports locks and memory mapping of files up to Integer. MAX_VALUE bytes (2 GiB) </Li> <Li> A multiplexed, non-blocking I / O facility for writing scalable servers </Li> </Ul>

What is the use of nio in java