public enum FileTransferType extends Enum<FileTransferType>
Enum Constant and Description |
---|
ASCII
Files to be transferred will be treated as ASCII.
|
BINARY
Files to be transferred will be treated as a binary image,
i.e..
|
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static FileTransferType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FileTransferType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FileTransferType ASCII
public static final FileTransferType BINARY
public static FileTransferType[] values()
for (FileTransferType c : FileTransferType.values()) System.out.println(c);
public static FileTransferType 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 getValue()
Copyright (c) 2006-2024 North Concepts Inc. All Rights Reserved.