Package org.esa.snap.core.dataio
Enum EncodeQualification.Preservation
- java.lang.Object
-
- java.lang.Enum<EncodeQualification.Preservation>
-
- org.esa.snap.core.dataio.EncodeQualification.Preservation
-
- All Implemented Interfaces:
Serializable
,Comparable<EncodeQualification.Preservation>
- Enclosing class:
- EncodeQualification
public static enum EncodeQualification.Preservation extends Enum<EncodeQualification.Preservation>
Enumerates possible information preservation levels.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FULL
The writer is able to fully encode a given product to a given format.PARTIAL
The writer is able to partially encode a given product to a given format to produce a meaningful external representation.UNABLE
The writer is unable to encode a given product to a given format in order to produce a meaningful external representation.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EncodeQualification.Preservation
valueOf(String name)
Returns the enum constant of this type with the specified name.static EncodeQualification.Preservation[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FULL
public static final EncodeQualification.Preservation FULL
The writer is able to fully encode a given product to a given format.
-
PARTIAL
public static final EncodeQualification.Preservation PARTIAL
The writer is able to partially encode a given product to a given format to produce a meaningful external representation.
-
UNABLE
public static final EncodeQualification.Preservation UNABLE
The writer is unable to encode a given product to a given format in order to produce a meaningful external representation.
-
-
Method Detail
-
values
public static EncodeQualification.Preservation[] 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 (EncodeQualification.Preservation c : EncodeQualification.Preservation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EncodeQualification.Preservation 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
-
-