public class RegexpHeaderCheck extends AbstractHeaderCheck
regular expression
for each line of the source header.DEFAULT_ERROR_SCORE, DEFAULT_INFO_SCORE, DEFAULT_WARNING_SCORE, mScoring, mViolationSize
コンストラクタと説明 |
---|
RegexpHeaderCheck() |
修飾子とタイプ | メソッドと説明 |
---|---|
protected void |
postprocessHeaderLines()
Hook method for post processing header lines.
|
protected void |
processFiltered(File aFile,
List<String> aLines)
Called to process a file that matches the specified file extensions.
|
void |
setMultiLines(int[] aList)
Set the lines numbers to repeat in the header check.
|
finishLocalSetup, getHeaderLines, setCharset, setHeader, setHeaderFile
beginProcessing, destroy, finishProcessing, fireErrors, getMessageCollector, getMessageDispatcher, init, log, log, process, setFileExtensions, setMessageDispatcher
calculateScore, getCustomMessages, getErrorScore, getId, getInfoScore, getMessageBundle, getScore, getScoring, getSeverity, getSeverityLevel, getWarningScore, log, setErrorScore, setId, setInfoScore, setScore, setScoring, setSeverity, setWarningScore
configure, contextualize, getConfiguration, setupChild
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
configure
contextualize
public void setMultiLines(int[] aList)
aList
- comma separated list of line numbers to repeat in header.protected void processFiltered(File aFile, List<String> aLines)
AbstractFileSetCheck
processFiltered
クラス内 AbstractFileSetCheck
aFile
- the file to be processedaLines
- an immutable list of the contents of the file.protected void postprocessHeaderLines()
AbstractHeaderCheck
postprocessHeaderLines
クラス内 AbstractHeaderCheck
Copyright © 2001-2013. All Rights Reserved.