public enum StreamType extends Enum<StreamType>
| 枚举常量和说明 |
|---|
Properties |
Xml |
Yaml |
public static final StreamType Xml
public static final StreamType Properties
public static final StreamType Yaml
public static StreamType[] values()
for (StreamType c : StreamType.values()) System.out.println(c);
public static StreamType valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值[Web Site]