|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.springsource.bundlor.internal.support.StaticResourceArtefactAnalyser
public class StaticResourceArtefactAnalyser
An analyzer that detects the packages of static resources
Concurrent Semantics
Constructor Summary | |
---|---|
StaticResourceArtefactAnalyser()
|
Method Summary | |
---|---|
void |
analyse(java.io.InputStream artefact,
java.lang.String artefactName,
PartialManifest partialManifest)
Analyse the supplied artefact and update the supplied PartialManifest as needed. |
boolean |
canAnalyse(java.lang.String artefactName)
Can this ArtefactAnalyser analyse the artefact with the supplied name. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StaticResourceArtefactAnalyser()
Method Detail |
---|
public void analyse(java.io.InputStream artefact, java.lang.String artefactName, PartialManifest partialManifest) throws java.lang.Exception
PartialManifest
as needed.
analyse
in interface ArtefactAnalyser
artefact
- the artefact to scan.artefactName
- the name of the artefact.partialManifest
- the PartialManifest
to update.
java.lang.Exception
- if an error occurs during scanning.public boolean canAnalyse(java.lang.String artefactName)
ArtefactAnalyser
analyse the artefact with the supplied name.
canAnalyse
in interface ArtefactAnalyser
artefactName
- the name of the artefact.
true
if the artefact can be analysed; otherwise false
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |