Class ColorCheckAcceptor
- Object
-
- ColorCheckAcceptor
-
- All Implemented Interfaces:
GranuleAcceptor
public class ColorCheckAcceptor extends Object implements GranuleAcceptor
Check the color model of the input granule
-
-
Constructor Summary
Constructors Constructor Description ColorCheckAcceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
accepts(GridCoverage2DReader coverage, String inputCoverageName, File fileBeingProcessed, ImageMosaicConfigHandler mosaicConfigHandler)
-
-
-
Method Detail
-
accepts
public boolean accepts(GridCoverage2DReader coverage, String inputCoverageName, File fileBeingProcessed, ImageMosaicConfigHandler mosaicConfigHandler) throws IOException
- Specified by:
accepts
in interfaceGranuleAcceptor
- Parameters:
coverage
- the coverage being added to the cataloginputCoverageName
- the name of the coverage being addedfileBeingProcessed
- File handle of the coverage being handledmosaicConfigHandler
- the mosaic config handler being used- Returns:
- whether coverage should be added to the mosaic or not
- Throws:
IOException
-
-