Books & Videos

Table of Contents

  1. Chapter 1 Introduction

    1. I/O Versus CPU Time

    2. No Longer CPU Bound

    3. Getting to the Good Stuff

    4. I/O Concepts

    5. Summary

  2. Chapter 2 Buffers

    1. Buffer Basics

    2. Creating Buffers

    3. Duplicating Buffers

    4. Byte Buffers

    5. Summary

  3. Chapter 3 Channels

    1. Channel Basics

    2. Scatter/Gather

    3. File Channels

    4. Memory-Mapped Files

    5. Socket Channels

    6. Pipes

    7. The Channels Utility Class

    8. Summary

  4. Chapter 4 Selectors

    1. Selector Basics

    2. Using Selection Keys

    3. Using Selectors

    4. Asynchronous Closability

    5. Selection Scaling

    6. Summary

  5. Chapter 5 Regular Expressions

    1. Regular Expression Basics

    2. The Java Regular Expression API

    3. Regular Expression Methods of the String Class

    4. Java Regular Expression Syntax

    5. An Object-Oriented File Grep

    6. Summary

  6. Chapter 6 Character Sets

    1. Character Set Basics

    2. Charsets

    3. The Charset Service Provider Interface

    4. Summary

  1. Appendix A NIO and the JNI

  2. Appendix B Selectable Channels SPI

  3. Appendix C NIO Quick Reference

    1. Package java.nio

    2. Package java.nio.channels

    3. Package java.nio.channels.spi

    4. Package java.nio.charset

    5. Package java.nio.charset.spi

    6. Package java.util.regex

  4. Colophon