Package adams.core.password
Enum DictionaryBasedGenerator.Variation
- java.lang.Object
-
- java.lang.Enum<DictionaryBasedGenerator.Variation>
-
- adams.core.password.DictionaryBasedGenerator.Variation
-
- All Implemented Interfaces:
Serializable
,Comparable<DictionaryBasedGenerator.Variation>
- Enclosing class:
- DictionaryBasedGenerator
public static enum DictionaryBasedGenerator.Variation extends Enum<DictionaryBasedGenerator.Variation>
Defines what variations of the password from the dictionary will be generated.- Version:
- $Revision$
- Author:
- FracPete (fracpete at waikato dot ac dot nz)
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AS_IS
LOWER_CASE
REVERSE
REVERSE_LOWER_CASE
REVERSE_UPPER_CASE
UPPER_CASE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DictionaryBasedGenerator.Variation
valueOf(String name)
Returns the enum constant of this type with the specified name.static DictionaryBasedGenerator.Variation[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AS_IS
public static final DictionaryBasedGenerator.Variation AS_IS
-
LOWER_CASE
public static final DictionaryBasedGenerator.Variation LOWER_CASE
-
UPPER_CASE
public static final DictionaryBasedGenerator.Variation UPPER_CASE
-
REVERSE
public static final DictionaryBasedGenerator.Variation REVERSE
-
REVERSE_LOWER_CASE
public static final DictionaryBasedGenerator.Variation REVERSE_LOWER_CASE
-
REVERSE_UPPER_CASE
public static final DictionaryBasedGenerator.Variation REVERSE_UPPER_CASE
-
-
Method Detail
-
values
public static DictionaryBasedGenerator.Variation[] 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 (DictionaryBasedGenerator.Variation c : DictionaryBasedGenerator.Variation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DictionaryBasedGenerator.Variation 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 nameNullPointerException
- if the argument is null
-
-