Chapter 13
Migrating to New I/O
Chapters 11 and 12 introduced you to Java’s classic I/O APIs. Chapter 11 presented classic I/O in terms of java.io’s File, RandomAccessFile, stream, and writer/reader types. Chapter 12 presented classic I/O in terms of java.net’s socket and URL types.
Modern operating systems offer powerful I/O features that are not supported by Java’s classic I/O APIs. Features include memory-mapped file I/O (the ability to map part of a process (executing application)’s virtual memory (see http://en.wikipedia.org/wiki/Virtual_memory) to some portion of a file so that writes to or reads from that portion of the process’s memory space actually write/read the associated portion of the file), readiness selection (a step above ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access