public class MobacLayerScanner extends GenericLayerScanner
LayerScanner.Callback, LayerScanner.Spi
Modifier and Type | Field and Description |
---|---|
static LayerScanner.Spi |
SPI |
static java.lang.String |
TAG |
_TAG, ACCEPT, DELAY, REJECT
canceled, database, name
Constructor and Description |
---|
MobacLayerScanner() |
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.
|
getDefaultScanDirs, run, scanDirectory
cancel, cancelImpl, debug, error, getName, layerDiscovered, prepare, progress
public static final java.lang.String TAG
public static final LayerScanner.Spi SPI
protected java.io.File[] getScanDirs()
getScanDirs
in class GenericLayerScanner
protected 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
public void reset()
LayerScanner
reset
in class LayerScanner