Package gaia.cu9.ari.gaiaorbit.util
Enum GlobalConf.ImageFormat
- java.lang.Object
-
- java.lang.Enum<GlobalConf.ImageFormat>
-
- gaia.cu9.ari.gaiaorbit.util.GlobalConf.ImageFormat
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<GlobalConf.ImageFormat>
- Enclosing class:
- GlobalConf
public static enum GlobalConf.ImageFormat extends java.lang.Enum<GlobalConf.ImageFormat>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GlobalConf.ImageFormat
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static GlobalConf.ImageFormat[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PNG
public static final GlobalConf.ImageFormat PNG
-
JPG
public static final GlobalConf.ImageFormat JPG
-
-
Method Detail
-
values
public static GlobalConf.ImageFormat[] 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 (GlobalConf.ImageFormat c : GlobalConf.ImageFormat.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GlobalConf.ImageFormat 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
-
-