public class RegexpMultilineCheck extends AbstractFileSetCheck
DEFAULT_ERROR_SCORE, DEFAULT_INFO_SCORE, DEFAULT_WARNING_SCORE, mScoring, mViolationSize| コンストラクタと説明 |
|---|
RegexpMultilineCheck() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
void |
beginProcessing(String aCharset)
Called when about to be called to process a set of files.
|
protected void |
processFiltered(File aFile,
List<String> aLines)
Called to process a file that matches the specified file extensions.
|
void |
setFormat(String aFormat)
Set the format of the regular expression to match.
|
void |
setIgnoreCase(boolean aIgnore)
Set whether to ignore case when matching.
|
void |
setMaximum(int aMaximum)
Set the maximum number of matches required per file.
|
void |
setMessage(String aMessage)
Set the message to report for a match.
|
void |
setMinimum(int aMinimum)
Set the minimum number of matches required per file.
|
destroy, finishProcessing, fireErrors, getMessageCollector, getMessageDispatcher, init, log, log, process, setFileExtensions, setMessageDispatchercalculateScore, getCustomMessages, getErrorScore, getId, getInfoScore, getMessageBundle, getScore, getScoring, getSeverity, getSeverityLevel, getWarningScore, log, setErrorScore, setId, setInfoScore, setScore, setScoring, setSeverity, setWarningScoreconfigure, contextualize, finishLocalSetup, getConfiguration, setupChildclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconfigurecontextualizepublic void beginProcessing(String aCharset)
AbstractFileSetCheckbeginProcessing インタフェース内 FileSetCheckbeginProcessing クラス内 AbstractFileSetCheckaCharset - the character set used to read the files.protected void processFiltered(File aFile, List<String> aLines)
AbstractFileSetCheckprocessFiltered クラス内 AbstractFileSetCheckaFile - the file to be processedaLines - an immutable list of the contents of the file.public void setFormat(String aFormat)
aFormat - the format of the regular expression to match.public void setMessage(String aMessage)
aMessage - the message to report for a match.public void setMinimum(int aMinimum)
aMinimum - the minimum number of matches required per file.public void setMaximum(int aMaximum)
aMaximum - the maximum number of matches required per file.public void setIgnoreCase(boolean aIgnore)
aIgnore - whether to ignore case when matching.Copyright © 2001-2013. All Rights Reserved.