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.
|
Modifier and Type | Class and Description |
---|---|
class |
IllegalBlockingModeException
Unchecked exception thrown when a blocking-mode-specific operation
is invoked upon a channel in the incorrect blocking mode.
|
class |
NonReadableChannelException
Unchecked exception thrown when an attempt is made to read
from a channel that was not originally opened for reading.
|
class |
NonWritableChannelException
Unchecked exception thrown when an attempt is made to write
to a channel that was not originally opened for writing.
|
Modifier and Type | Class and Description |
---|---|
class |
ClosedFileSystemException
Unchecked exception thrown when an attempt is made to invoke an operation on
a file and the file system is closed.
|
Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. Use of this specification is subject to license terms.