|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.maven.shared.jar.identification.exposers.JarClassesExposer
public class JarClassesExposer
Exposer that examines a JAR file to derive Maven metadata from the classes in a JAR. It will currently identify potential group IDs from the class packages.
Note: if not being used from Plexus, thesetAnalyzer(org.apache.maven.shared.jar.classes.JarClassesAnalysis)
method must be called to avoid a NullPointerException during the expose method.
Constructor Summary | |
---|---|
JarClassesExposer()
|
Method Summary | |
---|---|
void |
expose(JarIdentification identification,
JarAnalyzer jarAnalyzer)
Expose metadata during the identification process. |
void |
setAnalyzer(JarClassesAnalysis analyzer)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JarClassesExposer()
Method Detail |
---|
public void expose(JarIdentification identification, JarAnalyzer jarAnalyzer)
JarIdentificationExposer
expose
in interface JarIdentificationExposer
identification
- the identification record to populate with the exposed metadatajarAnalyzer
- the JAR to obtain the information from. Should be treated as read only, with the exception
of caching the metadata if it would be identical when run over the same file again.public void setAnalyzer(JarClassesAnalysis analyzer)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |