|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object labeler
Loads a rule set and processes one or more files. Labeler will load a ruleset (@see PPIRuleset) and apply it to one or more files in a directory tree. If a directory name is passed as the starting point then the ruleset will be applied to all files in the directory and subdirectories.
Options:
-d: Scan only the current directory. Do not recurse sub-directories. -r: Scan the current directory and recursely scan sub-directories.Usage:
labeler ruleset [-d | -R] pathname [pathname ...]
Field Summary | |
static java.util.ArrayList |
mGlobalList
Preserves global variables between executions of the ruleset. |
static boolean |
mRecurse
|
static java.lang.String |
mStartPath
|
static java.lang.String |
mStartRule
|
Constructor Summary | |
labeler()
Create an instance. |
Method Summary | |
static void |
main(java.lang.String[] args)
Entry point for the application. |
(package private) static boolean |
processItem(java.lang.String ruleset,
java.lang.String pathName)
|
(package private) static boolean |
runRuleset(java.lang.String ruleFile,
java.lang.String pathName)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static java.util.ArrayList mGlobalList
public static java.lang.String mStartPath
public static java.lang.String mStartRule
public static boolean mRecurse
Constructor Detail |
public labeler()
Method Detail |
public static void main(java.lang.String[] args)
static boolean processItem(java.lang.String ruleset, java.lang.String pathName)
static boolean runRuleset(java.lang.String ruleFile, java.lang.String pathName)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
NEW RELEASES
PDS RESOURCES
OTHER RESOURCES
Privacy / Copyright Freedom of Information Act |
Web Master: PDS-PPI Operator NASA Official: Becky McCauley-Rench |