CheckTextFiles
This tool checks that source code files only contain the allowed set of
characters, and that the copyright license is included in each file. It also
removes trailing spaces.
| Methods |
| static void |
main(String... args)
This method is called when executing this application from the command
line.
|
| static void |
main(String... args) throws Exception
This method is called when executing this application from the command
line.
Parameters:
args - the command line parameters
|
| void |
checkOrFixFile(File file, boolean fix, boolean checkLicense)
Check a source code file.
|
| void |
checkOrFixFile(File file, boolean fix, boolean checkLicense) throws Exception
Check a source code file. The following properties are checked:
copyright, license, incorrect source switches, trailing white space,
newline characters, tab characters, and characters codes (only characters
below 128 are allowed).
Parameters:
file - the file to check
fix - automatically fix newline characters and trailing spaces
checkLicense - check the license and copyright
|
|