Class RegexpHeaderCheck

    • Field Detail

      • MSG_HEADER_MISSING

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

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

      • RegexpHeaderCheck

        public RegexpHeaderCheck()
    • Method Detail

      • setMultiLines

        public void setMultiLines​(int... list)
        Set the lines numbers to repeat in the header check.
        Parameters:
        list - comma separated list of line numbers to repeat 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.