Package burp.api.montoya.utilities
Enum RandomUtils.CharacterSet
- java.lang.Object
-
- java.lang.Enum<RandomUtils.CharacterSet>
-
- burp.api.montoya.utilities.RandomUtils.CharacterSet
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<RandomUtils.CharacterSet>
- Enclosing interface:
- RandomUtils
public static enum RandomUtils.CharacterSet extends java.lang.Enum<RandomUtils.CharacterSet>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ASCII_LETTERSASCII_LOWERCASEASCII_UPPERCASEDIGITSPRINTABLEPUNCTUATIONWHITESPACE
-
Field Summary
Fields Modifier and Type Field Description java.lang.Stringcharacters
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RandomUtils.CharacterSetvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static RandomUtils.CharacterSet[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ASCII_LOWERCASE
public static final RandomUtils.CharacterSet ASCII_LOWERCASE
-
ASCII_UPPERCASE
public static final RandomUtils.CharacterSet ASCII_UPPERCASE
-
ASCII_LETTERS
public static final RandomUtils.CharacterSet ASCII_LETTERS
-
DIGITS
public static final RandomUtils.CharacterSet DIGITS
-
PUNCTUATION
public static final RandomUtils.CharacterSet PUNCTUATION
-
WHITESPACE
public static final RandomUtils.CharacterSet WHITESPACE
-
PRINTABLE
public static final RandomUtils.CharacterSet PRINTABLE
-
-
Method Detail
-
values
public static RandomUtils.CharacterSet[] 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 (RandomUtils.CharacterSet c : RandomUtils.CharacterSet.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RandomUtils.CharacterSet 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 namejava.lang.NullPointerException- if the argument is null
-
-