软件包 | 描述 |
---|---|
java.nio.file |
定义的接口和类的java虚拟机访问文件,文件属性,文件系统。
|
Modifier and Type | Class and Description |
---|---|
class |
AccessDeniedException
当文件系统操作被拒绝时,检查异常引发的异常,通常是由于文件权限或其他访问检查。
|
class |
AtomicMoveNotSupportedException
当一个文件不能被移动时作为一个原子文件系统操作时检查异常抛出。
|
class |
DirectoryNotEmptyException
当一个文件系统操作失败时,检查异常,因为目录不是空的。
|
class |
FileAlreadyExistsException
尝试创建一个文件或目录时,并已存在该名称的文件时,检查异常抛出。
|
class |
FileSystemLoopException
当遇到文件系统循环或周期时,检查异常抛出。
|
class |
NoSuchFileException
尝试访问不存在的文件时,检查异常引发的异常。
|
class |
NotDirectoryException
当一个文件系统操作时,用于目录的异常引发的异常,因为该文件不是目录。
|
class |
NotLinkException
当一个文件系统操作失败,因为文件不是一个符号链接时,检查异常引发。
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.