Package com.openstego.desktop
Enum OpenStegoPlugin.Purpose
- java.lang.Object
-
- java.lang.Enum<OpenStegoPlugin.Purpose>
-
- com.openstego.desktop.OpenStegoPlugin.Purpose
-
- All Implemented Interfaces:
Serializable
,Comparable<OpenStegoPlugin.Purpose>
- Enclosing class:
- OpenStegoPlugin<C extends OpenStegoConfig>
public static enum OpenStegoPlugin.Purpose extends Enum<OpenStegoPlugin.Purpose>
Enumeration of plugin purposes
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DATA_HIDING
Purpose - data hidingWATERMARKING
Purpose - watermarking
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static OpenStegoPlugin.Purpose
valueOf(String name)
Returns the enum constant of this type with the specified name.static OpenStegoPlugin.Purpose[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DATA_HIDING
public static final OpenStegoPlugin.Purpose DATA_HIDING
Purpose - data hiding
-
WATERMARKING
public static final OpenStegoPlugin.Purpose WATERMARKING
Purpose - watermarking
-
-
Method Detail
-
values
public static OpenStegoPlugin.Purpose[] 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 (OpenStegoPlugin.Purpose c : OpenStegoPlugin.Purpose.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OpenStegoPlugin.Purpose 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
-
-