com.springsource.bundlor.support.contributors
Class JspArtifactAnalyzer
java.lang.Object
com.springsource.bundlor.support.contributors.JspArtifactAnalyzer
- All Implemented Interfaces:
- ArtifactAnalyzer
public class JspArtifactAnalyzer
- extends java.lang.Object
- implements ArtifactAnalyzer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PACKAGE_SUFFIX
private static final java.lang.String PACKAGE_SUFFIX
- See Also:
- Constant Field Values
TYPE_SUFFIX
private static final java.lang.String TYPE_SUFFIX
- See Also:
- Constant Field Values
pattern
private final java.util.regex.Pattern pattern
JspArtifactAnalyzer
public JspArtifactAnalyzer()
analyse
public void analyse(java.io.InputStream artifact,
java.lang.String artifactName,
PartialManifest partialManifest)
throws java.lang.Exception
- Description copied from interface:
ArtifactAnalyzer
- Analyse the supplied artefact and update the supplied
PartialManifest
as needed.
- Specified by:
analyse
in interface ArtifactAnalyzer
partialManifest
- the PartialManifest
to update.
- Throws:
java.lang.Exception
- if an error occurs during scanning.
canAnalyse
public boolean canAnalyse(java.lang.String artifactName)
- Description copied from interface:
ArtifactAnalyzer
- Can this
ArtifactAnalyzer
analyse the artefact with the supplied name.
- Specified by:
canAnalyse
in interface ArtifactAnalyzer
- Returns:
true
if the artefact can be analysed; otherwise false
.
processImports
private void processImports(java.lang.String imports,
PartialManifest partialManifest)
processType
private void processType(java.lang.String importString,
PartialManifest partialManifest)
processPackage
private void processPackage(java.lang.String importString,
PartialManifest partialManifest)