public enum TransferType extends Enum<TransferType>
| Modifier and Type | Method and Description |
|---|---|
static TransferType |
getType(String type) |
static TransferType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TransferType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransferType UPLOAD
public static final TransferType DOWNLOAD
public static final TransferType ANY
public static TransferType[] values()
for (TransferType c : TransferType.values()) System.out.println(c);
public static TransferType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static TransferType getType(String type)
Copyright © 2016. All rights reserved.