Class labeler
java.lang.Object
labeler
- class labeler
- extends java.lang.Object
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 ...]
- Since:
- 1.0
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 |
mGlobalList
public static java.util.ArrayList mGlobalList
- Preserves global variables between executions of the ruleset.
mStartPath
public static java.lang.String mStartPath
mStartRule
public static java.lang.String mStartRule
mRecurse
public static boolean mRecurse
labeler
public labeler()
- Create an instance.
main
public static void main(java.lang.String[] args)
- Entry point for the application.
processItem
static boolean processItem(java.lang.String ruleset,
java.lang.String pathName)
runRuleset
static boolean runRuleset(java.lang.String ruleFile,
java.lang.String pathName)