public static enum DistCpOptions.FileAttribute extends Enum<DistCpOptions.FileAttribute>
枚举常量和说明 |
---|
BLOCKSIZE |
GROUP |
PERMISSION |
REPLICATION |
USER |
限定符和类型 | 方法和说明 |
---|---|
static DistCpOptions.FileAttribute |
getAttribute(char symbol) |
static DistCpOptions.FileAttribute |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static DistCpOptions.FileAttribute[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final DistCpOptions.FileAttribute REPLICATION
public static final DistCpOptions.FileAttribute BLOCKSIZE
public static final DistCpOptions.FileAttribute USER
public static final DistCpOptions.FileAttribute GROUP
public static final DistCpOptions.FileAttribute PERMISSION
public static DistCpOptions.FileAttribute[] values()
for (DistCpOptions.FileAttribute c : DistCpOptions.FileAttribute.values()) System.out.println(c);
public static DistCpOptions.FileAttribute valueOf(String name)
name
- 要返回的枚举常量的名称。public static DistCpOptions.FileAttribute getAttribute(char symbol)
Copyright © 2009 The Apache Software Foundation