public class RpfDataPathWanderer extends DataPathWanderer
dataPaths
exhaustiveSearch, topToBottom
Constructor and Description |
---|
RpfDataPathWanderer() |
Modifier and Type | Method and Description |
---|---|
java.lang.Class<RpfLayer> |
getDataUserClass()
Which component class, like a specific layer type, will be using the data
path.
|
java.lang.String |
getPrettyName() |
boolean |
handleDirectory(java.io.File directory)
NOOP, handle things in the overridden handleDirectory method, more
efficient.
|
protected boolean |
handleDirectory(java.io.File directory,
java.lang.String[] contentNames)
Management method for the wanderer, that steps through the children of
the directory and calls handleEntry for them.
|
boolean |
handleFile(java.io.File file)
NOOP, work done in handleDirectory method.
|
boolean |
isMultiPathLayer()
True if layer being described can handle more than one data path, i.e.
|
static void |
main(java.lang.String[] argv)
Given a set of files or directories, search them to find the parent RPF
directories to use for an RPF layer.
|
addDataPath, getDataPaths
getCallback, handleEntry, isExhaustiveSearch, isTopToBottom, setCallback, setExhaustiveSearch, setTopToBottom
public java.lang.Class<RpfLayer> getDataUserClass()
DataPathWanderer
getDataUserClass
in class DataPathWanderer
protected boolean handleDirectory(java.io.File directory, java.lang.String[] contentNames) throws java.lang.SecurityException
handleDirectory
in class Wanderer
directory
- the directory to handlecontentNames
- an array of Strings representing children of the
directoryjava.lang.SecurityException
public boolean handleDirectory(java.io.File directory)
directory
- that represents a directory to deal with.public boolean handleFile(java.io.File file)
file
- to handle.public java.lang.String getPrettyName()
getPrettyName
in class DataPathWanderer
public boolean isMultiPathLayer()
DataPathWanderer
isMultiPathLayer
in class DataPathWanderer
public static void main(java.lang.String[] argv)
argv
- paths to files or directories, use -h to get a usage
statement.Copyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details