Question

Does anybody have a good analogy (or, failing that, a good resource) for describing the relationships between buffers, streams, readers, channels, selectors etc. in java.io and java.nio?

Thanks

Was it helpful?

Solution

Check this for a decent summary

Java.nio vs Java.io

Further reading can be done here

JDK 1.4.2 New I/O APIs

A critical view at Java I/O

JSR 51: NEW I/O API's

JSR 203: More new I/O APIs (inactive)

Actual work on JSR 203 for JDK 7 (should alread be in JDK7 since M2)

OTHER TIPS

This is the best one I've found so far: The Rox Java NIO Tutorial

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top