public enum PathType extends Enum<PathType>
| 限定符和类型 | 方法和说明 |
|---|---|
static PathType |
getByName(String inputpath)
通过名字得到路径寻找类型
|
String |
getDesc() |
static String |
getPath(String inputpath) |
IRemote |
getRemote() |
boolean |
isLocal() |
static PathType |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static PathType[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final PathType web
public static final PathType clp
public static final PathType rel
public static final PathType abs
public static final PathType env
public static final PathType s3
public static final PathType oss
public static PathType[] values()
for (PathType c : PathType.values()) System.out.println(c);
public static PathType valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public IRemote getRemote()
public static PathType getByName(String inputpath)
inputpath - 路径寻找类型字符串public String getDesc()
public boolean isLocal()
Copyright © 2020. All rights reserved.