Top "Nio" questions

NIO is Java 'New I/O' introduced in 1.4, providing non-blocking and multiplexed network I/O; 'direct' (native) buffers; file locks and mapped files; and character set codecs.

How do I rename (not move) a file in Java 7?

I'm a bit confused with all these new File I/O classes in JDK7. Let's say, I have a Path …

java file-io path nio java-7
NIO Performance Improvement compared to traditional IO in Java

I have seen many articles/blogs saying that Java NIO is a better solution compared to traditional Java IO. But …

java nio
Java: reading strings from a random access file with buffered input

I've never had close experiences with Java IO API before and I'm really frustrated now. I find it hard to …

java nio bufferedreader fileinputstream random-access
How to access a sub-file/folder in Java 7 java.nio.file.Path?

Java 7 introduced java.nio.file.Path as a possible replacement for java.io.File. With File, when I access a …

java path nio java-7
Java WatchService not generating events while watching mapped drives

I implemented a file watcher but I noticed that java nio file watcher doesn't generate events for files being copied …

java file nio mapped-drive watchservice
How does the Netty threading model work in the case of many client connections?

I intend to use Netty in an upcoming project. This project will act as both client and server. Especially it …

java asynchronous network-programming nio netty
java.lang.UnsupportedOperationException: 'posix:permissions' not supported as initial attribute on Windows

I am using Java 7 File API. I wrote a class that is working fine on Ubuntu creating directories perfectly, but …

java java-7 nio java-io unsupportedoperation
Non-blocking UDP I/O vs blocking UDP I/O in Java

Non-blocking TCP/IP SocketChannels and Selector in NIO help me to handle many TCP/IP connections with small number of …

java udp nio datagram
Detecting socket disconnection?

I am kinda upset that this cannot be handled in an elegant way, after trying different solutions (this, this and …

java sockets nio
Any NIO frameworks for .NET?

Are there any non-blocking IO frameworks for .NET? I am looking for something similar to what Apache Mina and JBoss …

c# .net frameworks nio