|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 枚举常量 | 字段 | 方法 | 详细信息: 枚举常量 | 字段 | 方法 | |||||||||
java.lang.Objectjava.lang.Enum<TransferType>
cn.signit.sdk.type.TransferType
public enum TransferType
文件传输类型.
| 枚举常量摘要 | |
|---|---|
BASE64
|
|
FILE_WSID
|
|
UNKNOWN
|
|
URL
|
|
| 方法摘要 | |
|---|---|
int |
getCode()
|
String |
getDescription()
|
static TransferType |
parse(int code)
根据枚举code值解析得到对应的枚举类型. |
static TransferType |
parse(String name)
根据枚举名称解析枚举类型(不区分大小写). |
void |
setCode(int code)
|
void |
setDescription(String description)
|
static TransferType |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。 |
static TransferType[] |
values()
按照声明该枚举类型的常量的顺序,返回 包含这些常量的数组。 |
| 从类 java.lang.Enum 继承的方法 |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| 从类 java.lang.Object 继承的方法 |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| 枚举常量详细信息 |
|---|
public static final TransferType UNKNOWN
public static final TransferType BASE64
public static final TransferType URL
public static final TransferType FILE_WSID
| 方法详细信息 |
|---|
public static TransferType[] values()
for (TransferType c : TransferType.values()) System.out.println(c);
public static TransferType valueOf(String name)
name - 要返回的枚举常量的名称。
如果该枚举类型没有带有指定名称的常量, - 则抛出 IllegalArgumentExceptionpublic static TransferType parse(int code)
code - 枚举状态码
public static TransferType parse(String name)
name - 枚举名称
public int getCode()
public void setCode(int code)
public String getDescription()
public void setDescription(String description)
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 枚举常量 | 字段 | 方法 | 详细信息: 枚举常量 | 字段 | 方法 | |||||||||