Package com.puppycrawl.tools.checkstyle
Class Main
java.lang.Object
com.puppycrawl.tools.checkstyle.Main
Wrapper command line program for the Checker.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
A key pointing to the create listener exception message in the "messages.properties" file.static final String
A key pointing to the error counter message in the "messages.properties" file.static final String
A key pointing to the load properties exception message in the "messages.properties" file. -
Method Summary
-
Field Details
-
ERROR_COUNTER
A key pointing to the error counter message in the "messages.properties" file.- See Also:
-
LOAD_PROPERTIES_EXCEPTION
A key pointing to the load properties exception message in the "messages.properties" file.- See Also:
-
CREATE_LISTENER_EXCEPTION
A key pointing to the create listener exception message in the "messages.properties" file.- See Also:
-
-
Method Details
-
main
Loops over the files specified checking them for errors. The exit code is the number of errors found in all the files.- Parameters:
args
- the command line arguments.- Throws:
IOException
- if there is a problem with files access
-