43 * <li><p> <a
44 * href="channels/package-summary.html"><i>Channels</i></a> of
45 * various types, which represent connections <br> to entities
46 * capable of performing I/O operations; and </p></li>
47 *
48 * <li><p> <i>Selectors</i> and <i>selection keys</i>, which
49 * together with <br> <i>selectable channels</i> define a <a
50 * href="channels/package-summary.html#multiplex">multiplexed,
51 * non-blocking <br> I/O</a> facility. </p></li>
52 *
53 * </ul>
54 *
55 * <p> The {@code java.nio} package defines the buffer classes, which
56 * are used throughout the NIO APIs. The charset API is defined in
57 * the {@link java.nio.charset} package, and the channel and selector
58 * APIs are defined in the {@link java.nio.channels} package. Each of
59 * these subpackages has its own service-provider (SPI) subpackage,
60 * the contents of which can be used to extend the platform's default
61 * implementations or to construct alternative implementations.
62 *
63 * <a name="buffers"> </a>
64 *
65 * <blockquote><table cellspacing=1 cellpadding=0 summary="Description of the various buffers">
66 * <tr><th align="left">Buffers</th><th align="left">Description</th></tr>
67 * <tr><td valign=top>{@link java.nio.Buffer}</td>
68 * <td>Position, limit, and capacity;
69 * <br>clear, flip, rewind, and mark/reset</td></tr>
70 * <tr><td valign=top> {@link java.nio.ByteBuffer}</td>
71 * <td>Get/put, compact, views; allocate, wrap</td></tr>
72 * <tr><td valign=top> {@link java.nio.MappedByteBuffer} </td>
73 * <td>A byte buffer mapped to a file</td></tr>
74 * <tr><td valign=top> {@link java.nio.CharBuffer}</td>
75 * <td>Get/put, compact; allocate, wrap</td></tr>
76 * <tr><td valign=top> {@link java.nio.DoubleBuffer}</td>
77 * <td> ' '</td></tr>
78 * <tr><td valign=top> {@link java.nio.FloatBuffer}</td>
79 * <td> ' '</td></tr>
80 * <tr><td valign=top> {@link java.nio.IntBuffer}</td>
81 * <td> ' '</td></tr>
82 * <tr><td valign=top> {@link java.nio.LongBuffer}</td>
83 * <td> ' '</td></tr>
|
43 * <li><p> <a
44 * href="channels/package-summary.html"><i>Channels</i></a> of
45 * various types, which represent connections <br> to entities
46 * capable of performing I/O operations; and </p></li>
47 *
48 * <li><p> <i>Selectors</i> and <i>selection keys</i>, which
49 * together with <br> <i>selectable channels</i> define a <a
50 * href="channels/package-summary.html#multiplex">multiplexed,
51 * non-blocking <br> I/O</a> facility. </p></li>
52 *
53 * </ul>
54 *
55 * <p> The {@code java.nio} package defines the buffer classes, which
56 * are used throughout the NIO APIs. The charset API is defined in
57 * the {@link java.nio.charset} package, and the channel and selector
58 * APIs are defined in the {@link java.nio.channels} package. Each of
59 * these subpackages has its own service-provider (SPI) subpackage,
60 * the contents of which can be used to extend the platform's default
61 * implementations or to construct alternative implementations.
62 *
63 * <a id="buffers"> </a>
64 *
65 * <blockquote><table cellspacing=1 cellpadding=0 summary="Description of the various buffers">
66 * <tr><th align="left">Buffers</th><th align="left">Description</th></tr>
67 * <tr><td valign=top>{@link java.nio.Buffer}</td>
68 * <td>Position, limit, and capacity;
69 * <br>clear, flip, rewind, and mark/reset</td></tr>
70 * <tr><td valign=top> {@link java.nio.ByteBuffer}</td>
71 * <td>Get/put, compact, views; allocate, wrap</td></tr>
72 * <tr><td valign=top> {@link java.nio.MappedByteBuffer} </td>
73 * <td>A byte buffer mapped to a file</td></tr>
74 * <tr><td valign=top> {@link java.nio.CharBuffer}</td>
75 * <td>Get/put, compact; allocate, wrap</td></tr>
76 * <tr><td valign=top> {@link java.nio.DoubleBuffer}</td>
77 * <td> ' '</td></tr>
78 * <tr><td valign=top> {@link java.nio.FloatBuffer}</td>
79 * <td> ' '</td></tr>
80 * <tr><td valign=top> {@link java.nio.IntBuffer}</td>
81 * <td> ' '</td></tr>
82 * <tr><td valign=top> {@link java.nio.LongBuffer}</td>
83 * <td> ' '</td></tr>
|