com.puppycrawl.tools.checkstyle.checks
public abstract class AbstractHeaderCheck extends Check
Method Summary | |
---|---|
protected void | finishLocalSetup()
Checks that required args were specified. |
int[] | getDefaultTokens() {@inheritDoc} |
protected String[] | getHeaderLines()
Return the header lines to check against. |
void | setHeader(String aHeader)
Set the header to check against. |
void | setHeaderFile(String aFileName)
Set the header file to check against. |
Throws: CheckstyleException {@inheritDoc}
See Also: AutomaticBean
Returns: the header lines to check against.
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