Class Main


  • public final class Main
    extends Object
    Wrapper command line program for the Checker.
    • Field Detail

      • ERROR_COUNTER

        public static final String ERROR_COUNTER
        A key pointing to the error counter message in the "messages.properties" file.
        See Also:
        Constant Field Values
      • LOAD_PROPERTIES_EXCEPTION

        public static final String LOAD_PROPERTIES_EXCEPTION
        A key pointing to the load properties exception message in the "messages.properties" file.
        See Also:
        Constant Field Values
      • CREATE_LISTENER_EXCEPTION

        public static final String CREATE_LISTENER_EXCEPTION
        A key pointing to the create listener exception message in the "messages.properties" file.
        See Also:
        Constant Field Values
    • Method Detail

      • main

        public static void main​(String... args)
                         throws IOException
        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