Package | Description |
---|---|
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 |
AtomicMoveNotSupportedException
Checked exception thrown when a file cannot be moved as an atomic file system
operation.
|
class |
DirectoryNotEmptyException
Checked exception thrown when a file system operation fails because a
directory is not empty.
|
class |
FileAlreadyExistsException
Checked exception thrown when an attempt is made to create a file or
directory and a file of that name already exists.
|
class |
NoSuchFileException
Checked exception thrown when an attempt is made to access a file that does
not exist.
|
class |
NotDirectoryException
Checked exception thrown when a file system operation, intended for a
directory, fails because the file is not a directory.
|
Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. Use of this specification is subject to license terms.