|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectImageMosaicDirectoryWalker
public class ImageMosaicDirectoryWalker
This class is in responsible for creating the index for a mosaic of images that we want to tie together as a single coverage.
Field Summary | |
---|---|
protected ImageMosaicConfigHandler |
configHandler
|
protected ImageMosaicEventHandlers |
eventHandler
|
protected Hints |
excludeMosaicHints
|
Constructor Summary | |
---|---|
ImageMosaicDirectoryWalker(ImageMosaicConfigHandler catalogHandler,
ImageMosaicEventHandlers eventHandler)
|
|
ImageMosaicDirectoryWalker(ImageMosaicConfigHandler configHandler,
ImageMosaicEventHandlers eventHandler,
IOFileFilter filter)
Default constructor. |
Method Summary | |
---|---|
protected boolean |
checkFile(File fileBeingProcessed)
|
protected boolean |
checkStop()
|
void |
closeTransaction()
|
void |
commitTransaction()
|
int |
getFileIndex()
|
int |
getNumFiles()
|
boolean |
getStop()
|
protected void |
handleFile(File fileBeingProcessed)
|
void |
rollbackTransaction()
|
void |
run()
run the directory walker |
void |
setFileIndex(int fileIndex)
|
void |
setNumFiles(int numFiles)
|
void |
skipFile(String path)
Warn this walker that we skip the provided path |
void |
startTransaction()
Create a transaction for being used in this walker |
void |
stop()
|
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final ImageMosaicConfigHandler configHandler
protected final Hints excludeMosaicHints
protected final ImageMosaicEventHandlers eventHandler
Constructor Detail |
---|
public ImageMosaicDirectoryWalker(ImageMosaicConfigHandler configHandler, ImageMosaicEventHandlers eventHandler, IOFileFilter filter)
filter
-
IllegalArgumentException
public ImageMosaicDirectoryWalker(ImageMosaicConfigHandler catalogHandler, ImageMosaicEventHandlers eventHandler)
catalogHandler
- eventHandler
- Method Detail |
---|
public void run()
public boolean getStop()
public void stop()
protected boolean checkFile(File fileBeingProcessed)
protected void handleFile(File fileBeingProcessed) throws IOException
IOException
public void startTransaction()
public void rollbackTransaction() throws IOException
IOException
public void commitTransaction() throws IOException
IOException
public void closeTransaction()
protected boolean checkStop()
public int getFileIndex()
public int getNumFiles()
public void setFileIndex(int fileIndex)
fileIndex
- the fileIndex to setpublic void setNumFiles(int numFiles)
numFiles
- the numFiles to setpublic void skipFile(String path)
path
- the path to the file to skip
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |