Class HeaderCheck

    • Field Detail

      • MSG_MISSING

        public static final String MSG_MISSING
        A key is pointing to the warning message text in "messages.properties" file.
        See Also:
        Constant Field Values
      • MSG_MISMATCH

        public static final String MSG_MISMATCH
        A key is pointing to the warning message text in "messages.properties" file.
        See Also:
        Constant Field Values
    • Constructor Detail

      • HeaderCheck

        public HeaderCheck()
    • Method Detail

      • setIgnoreLines

        public void setIgnoreLines​(int... list)
        Set the lines numbers to ignore in the header check.
        Parameters:
        list - comma separated list of line numbers to ignore in header.
      • processFiltered

        protected void processFiltered​(File file,
                                       FileText fileText)
        Description copied from class: AbstractFileSetCheck
        Called to process a file that matches the specified file extensions.
        Specified by:
        processFiltered in class AbstractFileSetCheck
        Parameters:
        file - the file to be processed
        fileText - the contents of the file.