public class RegexpMultilineCheck extends AbstractFileSetCheck
AutomaticBean.OutputStreamOptions| Constructor and Description |
|---|
RegexpMultilineCheck() |
| Modifier and Type | Method and Description |
|---|---|
void |
beginProcessing(String charset)
Called when about to be called to process a set of files.
|
protected void |
processFiltered(File file,
FileText fileText)
Called to process a file that matches the specified file extensions.
|
void |
setFormat(String format)
Sets the format of the regular expression to match.
|
void |
setIgnoreCase(boolean ignoreCase)
Sets whether to ignore case when matching.
|
void |
setMaximum(int maximum)
Sets the maximum number of matches required per file.
|
void |
setMessage(String message)
Sets the message to report for a match.
|
void |
setMinimum(int minimum)
Sets the minimum number of matches required per file.
|
addMessages, destroy, finishProcessing, fireErrors, getFileExtensions, getMessageDispatcher, init, log, log, process, setFileExtensions, setMessageDispatcherfinishLocalSetup, getCustomMessages, getId, getMessageBundle, getSeverity, getSeverityLevel, setId, setSeverityconfigure, contextualize, getConfiguration, setupChildclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconfigurecontextualizepublic RegexpMultilineCheck()
public void beginProcessing(String charset)
FileSetCheckbeginProcessing in interface FileSetCheckbeginProcessing in class AbstractFileSetCheckcharset - the character set used to read the files.protected void processFiltered(File file, FileText fileText)
AbstractFileSetCheckprocessFiltered in class AbstractFileSetCheckfile - the file to be processedfileText - the contents of the file.public void setFormat(String format)
format - the format of the regular expression to match.public void setMessage(String message)
message - the message to report for a match.public void setMinimum(int minimum)
minimum - the minimum number of matches required per file.public void setMaximum(int maximum)
maximum - the maximum number of matches required per file.public void setIgnoreCase(boolean ignoreCase)
ignoreCase - whether to ignore case when matching.Copyright © 2001–2018. All rights reserved.