| 软件包 | 描述 |
|---|---|
| java.nio.channels |
定义通道,其表示与能够执行I / O操作的实体的连接,例如文件和套接字;
定义选择器,用于多路复用,非阻塞I / O操作。
|
| java.nio.file |
定义Java虚拟机访问文件,文件属性和文件系统的接口和类。
|
| java.nio.file.attribute |
提供访问文件和文件系统属性的接口和类。
|
| java.nio.file.spi |
java.nio.file包的服务提供者类。
|
| java.util.zip |
提供读写标准ZIP和GZIP文件格式的类。
|
| Class and Description |
|---|
| FileAttribute
封装通过调用
createFile或
createDirectory方法创建新文件或目录时可以原子地设置的文件属性的值的对象。
|
| Class and Description |
|---|
| BasicFileAttributes
与文件系统中的文件相关联的基本属性。
|
| FileAttribute
封装通过调用
createFile或
createDirectory方法创建新文件或目录时可以原子地设置的文件属性的值的对象。
|
| FileAttributeView
属性视图,它是与文件系统中的文件相关联的非不透明值的只读或可更新视图。
|
| FileStoreAttributeView
一个属性认为是一个只读或可更新的一个的属性的视图 FileStore 。
|
| FileTime
表示文件时间戳属性的值。
|
| PosixFilePermission
定义与
permissions属性一起使用的位。
|
| UserPrincipal
A
Principal表示用于确定对文件系统中的对象的访问权限的身份。
|
| UserPrincipalLookupService
按名称查找用户和组主体的对象。
|
| Class and Description |
|---|
| AclEntry
访问控制列表(ACL)中的条目。
|
AclEntry.Builder
AclEntry对象的生成器。
|
| AclEntryFlag
定义ACL entry的标志组件使用的标志。
|
| AclEntryPermission
定义与ACL entry的权限组件一起使用的权限。
|
| AclEntryType
访问控制条目类型的类型安全枚举。
|
| AttributeView
提供与文件系统中的对象相关联的非不透明值的只读或可更新
视图的对象。
|
| BasicFileAttributes
与文件系统中的文件相关联的基本属性。
|
| BasicFileAttributeView
文件属性视图,提供许多文件系统通用的
基本文件属性
集的视图。
|
| DosFileAttributes
与支持旧版“DOS”属性的文件系统中的文件相关联的文件属性。
|
| FileAttribute
封装了通过调用
createFile或
createDirectory方法创建新文件或目录时可以原子地设置的文件属性的值的对象。
|
| FileAttributeView
属性视图,它是与文件系统中的文件相关联的非不透明值的只读或可更新视图。
|
| FileOwnerAttributeView
支持阅读或更新文件所有者的文件属性视图。
|
| FileTime
表示文件时间戳属性的值。
|
| GroupPrincipal
A
UserPrincipal表示
组身份 ,用于确定文件系统中对象的访问权限。
|
| PosixFileAttributes
与实现便携式操作系统接口(POSIX)系列标准的操作系统使用的文件系统上的文件相关联的文件属性。
|
| PosixFilePermission
定义与
permissions属性一起使用的位。
|
| UserPrincipal
A
Principal表示用于确定文件系统中对象的访问权限的身份。
|
| Class and Description |
|---|
| BasicFileAttributes
与文件系统中的文件相关联的基本属性。
|
| FileAttribute
封装通过调用
createFile或
createDirectory方法创建新文件或目录时可以原子设置的文件属性的值的对象。
|
| FileAttributeView
属性视图,它是与文件系统中的文件相关联的非不透明值的只读或可更新视图。
|
| Class and Description |
|---|
| FileTime
表示文件时间戳属性的值。
|
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.