public enum FtpTransferMode extends Enum<FtpTransferMode>
| Enum Constant and Description |
|---|
ASCII
Represents the text transfer mode
|
BINARY
Represents the binary transfer mode
|
| Modifier and Type | Method and Description |
|---|---|
int |
getCode() |
String |
getDescription() |
static FtpTransferMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FtpTransferMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FtpTransferMode BINARY
public static final FtpTransferMode ASCII
public static FtpTransferMode[] values()
for (FtpTransferMode c : FtpTransferMode.values()) System.out.println(c);
public static FtpTransferMode 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 int getCode()
public String getDescription()
Copyright © 2018 MuleSoft, Inc.. All rights reserved.