|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectImageMosaicConfigHandler
public class ImageMosaicConfigHandler
This class is in responsible for creating and managing the catalog and the configuration of the mosaic
Constructor Summary | |
---|---|
ImageMosaicConfigHandler(CatalogBuilderConfiguration configuration,
ImageMosaicEventHandlers eventHandler)
Default constructor |
Method Summary | |
---|---|
protected boolean |
coverageExists(String coverageName)
Check whether the specified coverage already exist in the reader. |
void |
dispose()
|
GranuleCatalog |
getCatalog()
|
Map<String,MosaicConfigurationBean> |
getConfigurations()
|
ImageMosaicReader |
getParentReader()
|
List<PropertiesCollector> |
getPropertiesCollectors()
|
CatalogBuilderConfiguration |
getRunConfiguration()
|
boolean |
getStop()
|
boolean |
isUseExistingSchema()
|
void |
reset()
Perform proper clean up. |
void |
setParentReader(ImageMosaicReader parentReader)
|
void |
stop()
|
void |
updateConfiguration(GridCoverage2DReader coverageReader,
String inputCoverageName,
File fileBeingProcessed,
int fileIndex,
double numFiles,
DefaultTransaction transaction)
Use the passed coverageReader to create or update the all the needed configurations It not responsible of the passed coverageReader which should be disposed outside (in the caller). |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ImageMosaicConfigHandler(CatalogBuilderConfiguration configuration, ImageMosaicEventHandlers eventHandler)
IllegalArgumentException
Method Detail |
---|
public void reset()
Make sure to call this method when you are not running the ImageMosaicConfigHandler
or bad things can happen. If it is running, please
stop it first.
public boolean getStop()
public void stop()
protected boolean coverageExists(String coverageName) throws IOException
coverageName
- the name of the coverage to be searched
true
in case that coverage already exists
IOException
public void updateConfiguration(GridCoverage2DReader coverageReader, String inputCoverageName, File fileBeingProcessed, int fileIndex, double numFiles, DefaultTransaction transaction) throws IOException
coverageReader
- inputCoverageName
- fileBeingProcessed
- fileIndex
- numFiles
- transaction
-
IOException
public void dispose()
public Map<String,MosaicConfigurationBean> getConfigurations()
public GranuleCatalog getCatalog()
public CatalogBuilderConfiguration getRunConfiguration()
public ImageMosaicReader getParentReader()
public void setParentReader(ImageMosaicReader parentReader)
public List<PropertiesCollector> getPropertiesCollectors()
public boolean isUseExistingSchema()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |