com.puppycrawl.tools.checkstyle.checks.header
public class RegexpHeaderCheck extends AbstractHeaderCheck
Method Summary | |
---|---|
void | beginTree(DetailAST aRootAST) {@inheritDoc} |
void | setHeader(String aHeader)
Set the header to check against. |
void | setHeaderFile(String aFileName)
Sets the file that contains the header to check against. |
void | setMultiLines(int[] aList)
Set the lines numbers to repeat in the header check. |
Parameters: aHeader header content to check against.
Throws: org.apache.commons.beanutils.ConversionException if the header cannot be loaded or one line is not a regexp.
Parameters: aFileName the file that contains the header to check against.
Throws: org.apache.commons.beanutils.ConversionException if the file cannot be loaded or one line is not a regexp.
Parameters: aList comma separated list of line numbers to repeat in header.