public class ApassMosaicScanner extends GenericLayerScanner
LayerScanner.Callback, LayerScanner.Spi
Modifier and Type | Field and Description |
---|---|
static LayerScanner.Spi |
SPI |
_TAG, ACCEPT, DELAY, REJECT, TAG
canceled, database, name
Modifier and Type | Method and Description |
---|---|
protected int |
checkFile(int depth,
java.io.File f) |
protected java.lang.String |
getProviderHint(int depth,
java.io.File f) |
protected java.io.File[] |
getScanDirs() |
void |
reset()
Instructs the scanner to reset any state or cache information prior to initiating a scan.
|
protected void |
scanDirectory(int depth,
java.io.File dir)
Scans the specified directory.
|
getDefaultScanDirs, run
cancel, cancelImpl, debug, error, getName, layerDiscovered, prepare, progress
public static final LayerScanner.Spi SPI
public void reset()
LayerScanner
reset
in class LayerScanner
protected java.io.File[] getScanDirs()
getScanDirs
in class GenericLayerScanner
protected void scanDirectory(int depth, java.io.File dir)
GenericLayerScanner
scanDirectory
in class GenericLayerScanner
depth
- The recursion depthdir
- The directory to scanprotected final int checkFile(int depth, java.io.File f)
checkFile
in class GenericLayerScanner
f
- the file to checkGenericLayerScanner.ACCEPT
, GenericLayerScanner.REJECT
, or GenericLayerScanner.DELAY
.protected java.lang.String getProviderHint(int depth, java.io.File f)
getProviderHint
in class GenericLayerScanner