Package | Description |
---|---|
java.nio.channels |
Defines channels, which represent connections to entities that are capable of
performing I/O operations, such as files.
|
java.nio.file |
Defines interfaces and classes for the Java virtual machine to access files,
file attributes, and file systems.
|
Class and Description |
---|
AsynchronousCloseException
Checked exception received by a thread when another thread closes the
channel or the part of the channel upon which it is blocked in an I/O
operation.
|
ByteChannel
A channel that can read and write bytes.
|
Channel
A nexus for I/O operations.
|
ClosedChannelException
Checked exception thrown when an attempt is made to invoke or complete an
I/O operation upon channel that is closed, or at least closed to that
operation.
|
FileChannel
A channel for reading, writing, mapping, and manipulating a file.
|
ReadableByteChannel
A channel that can read bytes.
|
SeekableByteChannel
A byte channel that maintains a current position and allows the
position to be changed.
|
WritableByteChannel
A channel that can write bytes.
|
Class and Description |
---|
SeekableByteChannel
A byte channel that maintains a current position and allows the
position to be changed.
|
Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. Use of this specification is subject to license terms.