@ThreadSafe public class FileNameAnalyzer extends AbstractAnalyzer
| Constructor and Description |
|---|
FileNameAnalyzer() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
analyzeDependency(Dependency dependency,
Engine engine)
Collects information about the file name.
|
AnalysisPhase |
getAnalysisPhase()
Returns the phase that the analyzer is intended to run in.
|
protected java.lang.String |
getAnalyzerEnabledSettingKey()
Returns the setting key to determine if the analyzer is enabled.
|
java.lang.String |
getName()
Returns the name of the analyzer.
|
analyze, close, closeAnalyzer, getSettings, initialize, isEnabled, prepare, prepareAnalyzer, setEnabled, supportsParallelProcessingpublic java.lang.String getName()
public AnalysisPhase getAnalysisPhase()
protected java.lang.String getAnalyzerEnabledSettingKey()
Returns the setting key to determine if the analyzer is enabled.
getAnalyzerEnabledSettingKey in class AbstractAnalyzerprotected void analyzeDependency(Dependency dependency, Engine engine) throws AnalysisException
analyzeDependency in class AbstractAnalyzerdependency - the dependency to analyze.engine - the engine that is scanning the dependenciesAnalysisException - is thrown if there is an error reading the JAR
file.Copyright© 2012-21 Jeremy Long. All Rights Reserved.