Package org.esa.snap.core.datamodel
Class GeneralFilterBandPersistenceConverter
- java.lang.Object
-
- org.esa.snap.core.dataio.persistence.PersistenceConverter<GeneralFilterBand>
-
- org.esa.snap.core.datamodel.GeneralFilterBandPersistenceConverter
-
- All Implemented Interfaces:
PersistenceDecoder<GeneralFilterBand>
,PersistenceEncoder<GeneralFilterBand>
public class GeneralFilterBandPersistenceConverter extends PersistenceConverter<GeneralFilterBand>
Caution! This PersistenceConverter does not support historical dimap variations of GeneralFilterBand.
-
-
Field Summary
Fields Modifier and Type Field Description static String
ID_VERSION_1
static String
PROP_NAME_BAND_NAME
static String
ROOT_NAME_SPECTRAL_BAND_INFO
-
Fields inherited from interface org.esa.snap.core.dataio.persistence.PersistenceDecoder
KEY_PERSISTENCE_ID
-
-
Constructor Summary
Constructors Constructor Description GeneralFilterBandPersistenceConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GeneralFilterBand
decodeImpl(Item item, Product product)
Item
encode(GeneralFilterBand gfb)
String
getID()
-
Methods inherited from class org.esa.snap.core.dataio.persistence.PersistenceConverter
convertToCurrentVersion, createRootContainer, decode, getHistoricalDecoders
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.esa.snap.core.dataio.persistence.PersistenceDecoder
canDecode, isCurrentVersion
-
-
-
-
Field Detail
-
ID_VERSION_1
public static final String ID_VERSION_1
- See Also:
- Constant Field Values
-
ROOT_NAME_SPECTRAL_BAND_INFO
public static final String ROOT_NAME_SPECTRAL_BAND_INFO
- See Also:
- Constant Field Values
-
PROP_NAME_BAND_NAME
public static final String PROP_NAME_BAND_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getID
public String getID()
-
encode
public Item encode(GeneralFilterBand gfb)
-
decodeImpl
public GeneralFilterBand decodeImpl(Item item, Product product)
- Specified by:
decodeImpl
in classPersistenceConverter<GeneralFilterBand>
-
-