Class Main


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

      Fields 
      Modifier and Type Field Description
      static java.lang.String CREATE_LISTENER_EXCEPTION
      A key pointing to the create listener exception message in the "messages.properties" file.
      static java.lang.String ERROR_COUNTER
      A key pointing to the error counter message in the "messages.properties" file.
      static java.lang.String LOAD_PROPERTIES_EXCEPTION
      A key pointing to the load properties exception message in the "messages.properties" file.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void main​(java.lang.String... args)
      Loops over the files specified checking them for errors.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • ERROR_COUNTER

        public static final java.lang.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 java.lang.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 java.lang.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​(java.lang.String... args)
                         throws java.io.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:
        java.io.IOException - if there is a problem with files access