软件包 | 描述 |
---|---|
java.nio.file.attribute |
提供对文件和文件系统属性的访问的接口和类。
|
Modifier and Type | Method and Description |
---|---|
GroupPrincipal |
PosixFileAttributes.group()
返回文件的组所有者。
|
abstract GroupPrincipal |
UserPrincipalLookupService.lookupPrincipalByGroupName(String group)
按组名称查找组主。
|
Modifier and Type | Method and Description |
---|---|
void |
PosixFileAttributeView.setGroup(GroupPrincipal group)
更新文件组所有者。
|
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.