public enum FileTransferMode extends Enum<FileTransferMode>
Enum Constant and Description |
---|
BLOCK
Transfer files as a series of blocks.
|
COMPRESSED
Transfer files as FTP compressed data.
|
STREAM
Transfer files as a stream of bytes.
|
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static FileTransferMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FileTransferMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FileTransferMode STREAM
public static final FileTransferMode BLOCK
public static final FileTransferMode COMPRESSED
public static FileTransferMode[] values()
for (FileTransferMode c : FileTransferMode.values()) System.out.println(c);
public static FileTransferMode 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.