com.puppycrawl.tools.checkstyle.checks.header
public final class CrossLanguageRegexpHeaderCheck extends AbstractFileSetCheck
| Constructor Summary | |
|---|---|
| CrossLanguageRegexpHeaderCheck()
Creates a new instance and initializes the file extentions
to the default value, which represents most of the typical
text files that require a copyright header. | |
| Method Summary | |
|---|---|
| protected void | finishLocalSetup()
Checks that required args were specified. |
| void | process(File[] aFiles) |
| void | setHeader(String aHeader)
Set the header to check against. |
| void | setHeaderFile(String aFileName)
Set the header file to check against. |
| void | setMultiLines(int[] aList)
Set the lines numbers to repeat in the header check. |
Throws: CheckstyleException {@inheritDoc }
See Also: AutomaticBean
Parameters: aHeader header content to check against.
Throws: ConversionException if the header cannot be interpreted
Parameters: aFileName the file that contains the header to check against.
Throws: ConversionException if the file cannot be loaded
Parameters: aList comma separated list of line numbers to repeat in header.