public class CheckTextFiles
extends java.lang.Object
| Constructor and Description |
|---|
CheckTextFiles() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkOrFixFile(java.io.File file,
boolean fix,
boolean checkLicense)
Check a source code file.
|
static void |
main(java.lang.String... args)
This method is called when executing this application from the command
line.
|
public static void main(java.lang.String... args)
throws java.lang.Exception
args - the command line parametersjava.lang.Exceptionpublic void checkOrFixFile(java.io.File file,
boolean fix,
boolean checkLicense)
throws java.lang.Exception
file - the file to checkfix - automatically fix newline characters and trailing spacescheckLicense - check the license and copyrightjava.lang.Exception