public class ChangeCase extends Wanderer implements WandererCallback
Usage: java com.bbn.openmap.util.wanderer.ChangeCase [-u|-l] (dir path 1)(dir path 2) ...
exhaustiveSearch, topToBottom
Constructor and Description |
---|
ChangeCase(boolean toUpperCase) |
Modifier and Type | Method and Description |
---|---|
boolean |
getVerbose() |
boolean |
handleDirectory(java.io.File directory)
Do what you need to do to the directory.
|
boolean |
handleFile(java.io.File file)
Do what you need to do to the file.
|
static void |
main(java.lang.String[] argv)
Given a set of files or directories, parade through them to change their
case.
|
void |
setVerbose(boolean val) |
getCallback, handleDirectory, handleEntry, isExhaustiveSearch, isTopToBottom, setCallback, setExhaustiveSearch, setTopToBottom
public void setVerbose(boolean val)
public boolean getVerbose()
public boolean handleDirectory(java.io.File directory)
WandererCallback
handleDirectory
in interface WandererCallback
directory
- that represents a directory to deal with.public boolean handleFile(java.io.File file)
WandererCallback
handleFile
in interface WandererCallback
file
- to handle.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