Class QuantizationOp.MapIntegerRangeConverter

java.lang.Object
org.esa.snap.core.gpf.common.rtv.QuantizationOp.MapIntegerRangeConverter
All Implemented Interfaces:
Converter<Map<Integer,javax.media.jai.util.Range>>
Enclosing class:
QuantizationOp

public static class QuantizationOp.MapIntegerRangeConverter extends Object implements Converter<Map<Integer,javax.media.jai.util.Range>>
  • Constructor Details

    • MapIntegerRangeConverter

      public MapIntegerRangeConverter()
  • Method Details

    • getValueType

      public Class<? extends Map<Integer,javax.media.jai.util.Range>> getValueType()
      Description copied from interface: Converter
      Gets the value type.
      Specified by:
      getValueType in interface Converter<Map<Integer,javax.media.jai.util.Range>>
      Returns:
      The value type.
    • parse

      public Map<Integer,javax.media.jai.util.Range> parse(String text) throws ConversionException
      Description copied from interface: Converter
      Converts a value from its plain text representation to a Java object instance of the type returned by Converter.getValueType().
      Specified by:
      parse in interface Converter<Map<Integer,javax.media.jai.util.Range>>
      Parameters:
      text - The textual representation of the value.
      Returns:
      The converted value.
      Throws:
      ConversionException - If the conversion fails.
    • format

      public String format(Map<Integer,javax.media.jai.util.Range> value)
      Description copied from interface: Converter
      Converts a value of the type returned by Converter.getValueType() to its plain text representation.
      Specified by:
      format in interface Converter<Map<Integer,javax.media.jai.util.Range>>
      Parameters:
      value - The value to be converted to text.
      Returns:
      The textual representation of the value.