public enum TransferType extends Enum<TransferType>
| Enum Constant and Description |
|---|
ANY
Upload and Download operation.
|
DOWNLOAD
An Downlaod operation.
|
UPLOAD
An Upload operation.
|
| Modifier and Type | Method and Description |
|---|---|
static TransferType |
getType(String type)
Returns type of transfer.
|
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)
type - the transfer type as String.Copyright © 2018. All rights reserved.