public class JavadocPackageCheck extends AbstractFileSetCheck
| Modifier and Type | Field and Description |
|---|---|
private boolean |
allowLegacy
Indicates if allow legacy "package.html" file to be used.
|
private java.util.Set<java.io.File> |
directoriesChecked
The directories checked.
|
static java.lang.String |
MSG_LEGACY_PACKAGE_HTML
A key is pointing to the warning message text in "messages.properties"
file.
|
static java.lang.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(java.lang.String charset)
Called when about to be called to process a set of files.
|
protected void |
processFiltered(java.io.File file,
java.util.List<java.lang.String> lines)
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.
|
destroy, finishProcessing, fireErrors, getFileExtensions, getMessageCollector, getMessageDispatcher, init, log, log, process, setFileExtensions, setMessageDispatchergetCustomMessages, getId, getMessageBundle, getSeverity, getSeverityLevel, log, setId, setSeverityconfigure, contextualize, finishLocalSetup, getConfiguration, setupChildclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconfigurecontextualizepublic static final java.lang.String MSG_LEGACY_PACKAGE_HTML
public static final java.lang.String MSG_PACKAGE_INFO
private final java.util.Set<java.io.File> directoriesChecked
private boolean allowLegacy
public void beginProcessing(java.lang.String charset)
FileSetCheckbeginProcessing in interface FileSetCheckbeginProcessing in class AbstractFileSetCheckcharset - the character set used to read the files.protected void processFiltered(java.io.File file,
java.util.List<java.lang.String> lines)
AbstractFileSetCheckprocessFiltered in class AbstractFileSetCheckfile - the file to be processedlines - an immutable list of the contents of the file.public void setAllowLegacy(boolean allowLegacy)
allowLegacy - whether to allow support.