public class JavadocPackageCheck extends AbstractFileSetCheck
AutomaticBean.OutputStreamOptions
Modifier and Type | Field and Description |
---|---|
static String |
MSG_LEGACY_PACKAGE_HTML
A key is pointing to the warning message text in "messages.properties"
file.
|
static String |
MSG_PACKAGE_INFO
A key is pointing to the warning message text in "messages.properties"
file.
|
Constructor and Description |
---|
JavadocPackageCheck()
Creates a new instance.
|
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 |
setAllowLegacy(boolean allowLegacy)
Indicates whether to allow support for the legacy package.html
file.
|
addMessages, destroy, finishProcessing, fireErrors, getFileExtensions, getMessageDispatcher, init, log, log, process, setFileExtensions, setMessageDispatcher
finishLocalSetup, getCustomMessages, getId, getMessageBundle, getSeverity, getSeverityLevel, setId, setSeverity
configure, contextualize, getConfiguration, setupChild
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
configure
contextualize
public static final String MSG_LEGACY_PACKAGE_HTML
public static final String MSG_PACKAGE_INFO
public JavadocPackageCheck()
public void beginProcessing(String charset)
FileSetCheck
beginProcessing
in interface FileSetCheck
beginProcessing
in class AbstractFileSetCheck
charset
- the character set used to read the files.protected void processFiltered(File file, FileText fileText) throws CheckstyleException
AbstractFileSetCheck
processFiltered
in class AbstractFileSetCheck
file
- the file to be processedfileText
- the contents of the file.CheckstyleException
- if error condition within Checkstyle occurs.public void setAllowLegacy(boolean allowLegacy)
allowLegacy
- whether to allow support.Copyright © 2001–2018. All rights reserved.