|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bbn.openmap.util.wanderer.Wanderer
com.bbn.openmap.util.wanderer.DataPathWanderer
com.bbn.openmap.layer.rpf.RpfDataPathWanderer
public class RpfDataPathWanderer
Adds RPF directories with a A.TOC file inside them to the data paths.
Field Summary |
---|
Fields inherited from class com.bbn.openmap.util.wanderer.DataPathWanderer |
---|
dataPaths |
Fields inherited from class com.bbn.openmap.util.wanderer.Wanderer |
---|
exhaustiveSearch, topToBottom |
Constructor Summary | |
---|---|
RpfDataPathWanderer()
|
Method Summary | |
---|---|
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. |
Methods inherited from class com.bbn.openmap.util.wanderer.DataPathWanderer |
---|
addDataPath, getDataPaths |
Methods inherited from class com.bbn.openmap.util.wanderer.Wanderer |
---|
getCallback, handleEntry, isExhaustiveSearch, isTopToBottom, setCallback, setExhaustiveSearch, setTopToBottom |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RpfDataPathWanderer()
Method Detail |
---|
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
directory
java.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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |