public enum FtpTransferMode extends java.lang.Enum<FtpTransferMode>
| Enum Constant and Description |
|---|
ASCII
ASCII transfer mode, which converts files accordingly from DOS to Unix and
vice-versa.
|
BINARY
Binary transfer mode, which transfers files without modifying them en
route.
|
| Modifier and Type | Method and Description |
|---|---|
static FtpTransferMode |
valueOf(java.lang.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(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null© 2000-2025 Flux Corporation. All rights reserved.