goldengate.ftp.core.command
Enum FtpArgumentCode.TransferMode

java.lang.Object
  extended by java.lang.Enum<FtpArgumentCode.TransferMode>
      extended by goldengate.ftp.core.command.FtpArgumentCode.TransferMode
All Implemented Interfaces:
Serializable, Comparable<FtpArgumentCode.TransferMode>
Enclosing class:
FtpArgumentCode

public static enum FtpArgumentCode.TransferMode
extends Enum<FtpArgumentCode.TransferMode>

Mode of transmission

Author:
Frederic Bregier goldengate.ftp.core.data TransferMode

Enum Constant Summary
BLOCK
          Block TransferMode
COMPRESSED
          Compressed TransferMode
STREAM
          Stream TransferMode
 
Field Summary
 char mode
          TransferMode
 
Method Summary
static FtpArgumentCode.TransferMode valueOf(String name)
          Returns the enum constant of this type with the specified name.
static FtpArgumentCode.TransferMode[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

STREAM

public static final FtpArgumentCode.TransferMode STREAM
Stream TransferMode


BLOCK

public static final FtpArgumentCode.TransferMode BLOCK
Block TransferMode


COMPRESSED

public static final FtpArgumentCode.TransferMode COMPRESSED
Compressed TransferMode

Field Detail

mode

public char mode
TransferMode

Method Detail

values

public static FtpArgumentCode.TransferMode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (FtpArgumentCode.TransferMode c : FtpArgumentCode.TransferMode.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static FtpArgumentCode.TransferMode valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2009-2012 Frederic Bregier. All Rights Reserved.