Class JarClassesAnalysis

  extended by org.codehaus.plexus.logging.AbstractLogEnabled
      extended by org.apache.maven.shared.jar.classes.JarClassesAnalysis
All Implemented Interfaces:

public class JarClassesAnalysis
extends AbstractLogEnabled

Analyze the classes in a JAR file. This class is thread safe and immutable as it retains no state.

Note that you must first create an instance of JarAnalyzer - see its Javadoc for a typical use.

See Also:
'Plexus Component:'
role="org.apache.maven.shared.jar.classes.JarClassesAnalysis" role-hint="default"

Constructor Summary
Method Summary
 JarClasses analyze(JarAnalyzer jarAnalyzer)
          Analyze a JAR and find any classes and their details.
Methods inherited from class org.codehaus.plexus.logging.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public JarClassesAnalysis()
Method Detail


public JarClasses analyze(JarAnalyzer jarAnalyzer)
Analyze a JAR and find any classes and their details. Note that if the provided JAR analyzer has previously analyzed the JAR, the cached results will be returned. You must obtain a new JAR analyzer to the re-read the contents of the file.

jarAnalyzer - the JAR to analyze. This must not yet have been closed.
the details of the classes found

Copyright © 2002-2010 The Apache Software Foundation. All Rights Reserved.