com.emarsys.ecommon.files
Enum ScpTransferHelper.DefaultPrivateKeyFile

java.lang.Object
  extended by java.lang.Enum<ScpTransferHelper.DefaultPrivateKeyFile>
      extended by com.emarsys.ecommon.files.ScpTransferHelper.DefaultPrivateKeyFile
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ScpTransferHelper.DefaultPrivateKeyFile>
Enclosing class:
ScpTransferHelper

public static enum ScpTransferHelper.DefaultPrivateKeyFile
extends java.lang.Enum<ScpTransferHelper.DefaultPrivateKeyFile>

The DEFAULT-KEY-FILE to use for authentication. Creationdate: Jan 25, 2008

Author:
Matthias Marchart

Enum Constant Summary
DEFAULT_DSA_PRIVATE
           
DEFAULT_IDENT_PRIVATE
           
DEFAULT_RSA_PRIVATE
           
 
Method Summary
 java.lang.String getFile()
           
static ScpTransferHelper.DefaultPrivateKeyFile valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ScpTransferHelper.DefaultPrivateKeyFile[] 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

DEFAULT_IDENT_PRIVATE

public static final ScpTransferHelper.DefaultPrivateKeyFile DEFAULT_IDENT_PRIVATE

DEFAULT_RSA_PRIVATE

public static final ScpTransferHelper.DefaultPrivateKeyFile DEFAULT_RSA_PRIVATE

DEFAULT_DSA_PRIVATE

public static final ScpTransferHelper.DefaultPrivateKeyFile DEFAULT_DSA_PRIVATE
Method Detail

values

public static ScpTransferHelper.DefaultPrivateKeyFile[] 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 (ScpTransferHelper.DefaultPrivateKeyFile c : ScpTransferHelper.DefaultPrivateKeyFile.values())
    System.out.println(c);

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

valueOf

public static ScpTransferHelper.DefaultPrivateKeyFile valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getFile

public java.lang.String getFile()


Copyright © 2010 emarsys AG. All Rights Reserved.