com.puppycrawl.tools.checkstyle.checks.header
public abstract class AbstractHeaderCheck extends Check
| Method Summary | |
|---|---|
| protected abstract HeaderInfo | createHeaderInfo()
Abstract factory method to create an unconfigured
header info bean. |
| protected void | finishLocalSetup()
Checks that required args were specified. |
| int[] | getDefaultTokens() |
| protected HeaderInfo | getHeaderInfo()
Return the header info to check against. |
| 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. |
Returns: a header info bean for this check.
Throws: CheckstyleException {@inheritDoc }
See Also: AutomaticBean
Returns: the header info to check against.
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