|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bbn.openmap.util.wanderer.SLOC
public class SLOC
Count the source lines of code but going through the directory and counting ; and }.
Constructor Summary | |
---|---|
SLOC()
|
Method Summary | |
---|---|
int |
getSLOC()
|
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 |
setSLOC(int num)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SLOC()
Method Detail |
---|
public void setSLOC(int num)
public int getSLOC()
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |