public enum AclEntryType extends Enum<AclEntryType>
Enum Constant and Description |
---|
ALARM
产生报警,在系统相关的方法,在ACL条目指定的访问权限组件。
|
ALLOW
明确地授予对文件或目录的访问权限。
|
AUDIT
日志,在系统相关的方法,在ACL条目指定的访问权限组件。
|
DENY
明确地拒绝访问一个文件或目录。
|
Modifier and Type | Method and Description |
---|---|
static AclEntryType |
valueOf(String name)
返回此类型具有指定名称的枚举常量。
|
static AclEntryType[] |
values()
返回一个数组包含该枚举类型的常量,它们的顺序声明。
|
public static final AclEntryType ALLOW
public static final AclEntryType DENY
public static final AclEntryType AUDIT
public static final AclEntryType ALARM
public static AclEntryType[] values()
对于(aclentrytype C:aclentrytype。values()) 系统,println(C);
public static AclEntryType valueOf(String name)
name
-定要返回的枚举的名称。
IllegalArgumentException
-如果这个枚举类型,也没有固定的具有指定名称
NullPointerException
-如果参数为空
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.