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
Check this for a decent summary
Further reading can be done here
JSR 203: More new I/O APIs (inactive)
Actual work on JSR 203 for JDK 7 (should alread be in JDK7 since M2)
这是迄今为止我发现的最好的: Rox Java NIO教程
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.