Package org.esa.snap.core.dataio
Class EncodeQualification
- java.lang.Object
-
- org.esa.snap.core.dataio.EncodeQualification
-
public class EncodeQualification extends Object
The encode qualification of a product writer w.r.t. a given product and a given data format.- Since:
- SNAP 2
- See Also:
ProductWriterPlugIn.getEncodeQualification(org.esa.snap.core.datamodel.Product)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
EncodeQualification.Preservation
Enumerates possible information preservation levels.
-
Field Summary
Fields Modifier and Type Field Description static EncodeQualification
FULL
-
Constructor Summary
Constructors Constructor Description EncodeQualification(EncodeQualification.Preservation preservation)
Constructor.EncodeQualification(EncodeQualification.Preservation preservation, String infoString)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getInfoString()
EncodeQualification.Preservation
getPreservation()
-
-
-
Field Detail
-
FULL
public static final EncodeQualification FULL
-
-
Constructor Detail
-
EncodeQualification
public EncodeQualification(EncodeQualification.Preservation preservation)
Constructor.- Parameters:
preservation
- The information preservation level.
-
EncodeQualification
public EncodeQualification(EncodeQualification.Preservation preservation, String infoString)
Constructor.- Parameters:
preservation
- The information preservation level.infoString
- An optional informal text describing an incompatibility, maybe with a hint for the user to avoid the incompatibility. May benull
.
-
-
Method Detail
-
getPreservation
public EncodeQualification.Preservation getPreservation()
- Returns:
- The information preservation level.
-
getInfoString
public String getInfoString()
- Returns:
- An informal text describing an incompatibility, maybe with a hint for the user to
avoid the incompatibility. May be
null
.
-
-