简体   繁体   中英

java.nio channels buffers streams terminology

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

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)

这是迄今为止我发现的最好的: 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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM