A B C D E F G H I J M N O P Q R S T V

A

addAndSetArtifactId(String) - Method in class org.apache.maven.shared.jar.identification.JarIdentification
Add a validated artifact ID.
addAndSetGroupId(String) - Method in class org.apache.maven.shared.jar.identification.JarIdentification
Add a validated group ID.
addAndSetName(String) - Method in class org.apache.maven.shared.jar.identification.JarIdentification
Add a validated artifact name.
addAndSetVendor(String) - Method in class org.apache.maven.shared.jar.identification.JarIdentification
Add a validated vendor name.
addAndSetVersion(String) - Method in class org.apache.maven.shared.jar.identification.JarIdentification
Add a validated version.
addArtifactId(String) - Method in class org.apache.maven.shared.jar.identification.JarIdentification
Add a potential artifact ID.
addClassName(String) - Method in class org.apache.maven.shared.jar.classes.JarClasses
Add a discovered class to the record.
addGroupId(String) - Method in class org.apache.maven.shared.jar.identification.JarIdentification
Add a potential group ID.
addImports(List) - Method in class org.apache.maven.shared.jar.classes.JarClasses
Add a list of discovered imports to the record.
addManifestAttributeValues(Attributes, JarIdentification) - Method in class org.apache.maven.shared.jar.identification.exposers.ManifestExposer
 
addMethod(String) - Method in class org.apache.maven.shared.jar.classes.JarClasses
Add a discovered method to the record.
addName(String) - Method in class org.apache.maven.shared.jar.identification.JarIdentification
Add a potential artifact name.
addPackage(String) - Method in class org.apache.maven.shared.jar.classes.JarClasses
Add a discovered package to the record.
addUnique(List, String) - Static method in class org.apache.maven.shared.jar.identification.JarIdentification
 
addVendor(String) - Method in class org.apache.maven.shared.jar.identification.JarIdentification
Add a potential vendor name.
addVersion(String) - Method in class org.apache.maven.shared.jar.identification.JarIdentification
Add a potential version.
analyze(JarAnalyzer) - Method in class org.apache.maven.shared.jar.classes.JarClassesAnalysis
Analyze a JAR and find any classes and their details.
analyze(JarAnalyzer) - Method in class org.apache.maven.shared.jar.identification.JarIdentificationAnalysis
Analyze a JAR and find any associated Maven metadata.
analyzer - Variable in class org.apache.maven.shared.jar.identification.exposers.JarClassesExposer
 
artifactId - Variable in class org.apache.maven.shared.jar.identification.JarIdentification
The artifact ID derived or guessed from the list of potentials of the JAR.

B

bytecodeHash - Variable in class org.apache.maven.shared.jar.JarData
The hashcode for the file's class data contents.
bytecodeHashAnalyzer - Variable in class org.apache.maven.shared.jar.identification.exposers.RepositorySearchExposer
The hash analyzer for the file's bytecode.

C

CLASS_FILTER - Static variable in class org.apache.maven.shared.jar.JarAnalyzer
Pattern to filter JAR entries for class files.
classNames - Variable in class org.apache.maven.shared.jar.classes.JarClasses
A list of the classes that in the JAR.
closeQuietly() - Method in class org.apache.maven.shared.jar.JarAnalyzer
Close the associated JAR file, ignoring any errors that may occur.
computeEntryBytecodeHash(InputStream) - Method in class org.apache.maven.shared.jar.identification.hash.JarBytecodeHashAnalyzer
 
computeHash(JarAnalyzer) - Method in class org.apache.maven.shared.jar.identification.hash.JarBytecodeHashAnalyzer
 
computeHash(JarAnalyzer) - Method in class org.apache.maven.shared.jar.identification.hash.JarFileHashAnalyzer
 
computeHash(JarAnalyzer) - Method in interface org.apache.maven.shared.jar.identification.hash.JarHashAnalyzer
Compute the hash for the JAR.

D

digester - Variable in class org.apache.maven.shared.jar.identification.hash.JarBytecodeHashAnalyzer
The streaming digester to use for computing the hash.
digester - Variable in class org.apache.maven.shared.jar.identification.hash.JarFileHashAnalyzer
The digester to use for computing the hash.

E

EmbeddedMavenModelExposer - Class in org.apache.maven.shared.jar.identification.exposers
Exposer that examines a JAR file for any embedded Maven metadata for identification.
EmbeddedMavenModelExposer() - Constructor for class org.apache.maven.shared.jar.identification.exposers.EmbeddedMavenModelExposer
 
EmptyRepositoryHashSearch - Class in org.apache.maven.shared.jar.identification.repository
Empty repository hash search.
EmptyRepositoryHashSearch() - Constructor for class org.apache.maven.shared.jar.identification.repository.EmptyRepositoryHashSearch
 
entries - Variable in class org.apache.maven.shared.jar.JarData
The JAR entries.
expose(JarIdentification, JarAnalyzer) - Method in class org.apache.maven.shared.jar.identification.exposers.EmbeddedMavenModelExposer
 
expose(JarIdentification, JarAnalyzer) - Method in class org.apache.maven.shared.jar.identification.exposers.FilenameExposer
 
expose(JarIdentification, JarAnalyzer) - Method in class org.apache.maven.shared.jar.identification.exposers.JarClassesExposer
 
expose(JarIdentification, JarAnalyzer) - Method in class org.apache.maven.shared.jar.identification.exposers.ManifestExposer
 
expose(JarIdentification, JarAnalyzer) - Method in class org.apache.maven.shared.jar.identification.exposers.RepositorySearchExposer
 
expose(JarIdentification, JarAnalyzer) - Method in class org.apache.maven.shared.jar.identification.exposers.StaticMainOutputExposer
 
expose(JarIdentification, JarAnalyzer) - Method in class org.apache.maven.shared.jar.identification.exposers.TextFileExposer
 
expose(JarIdentification, JarAnalyzer) - Method in class org.apache.maven.shared.jar.identification.exposers.TimestampExposer
 
expose(JarIdentification, JarAnalyzer) - Method in interface org.apache.maven.shared.jar.identification.JarIdentificationExposer
Expose metadata during the identification process.
exposers - Variable in class org.apache.maven.shared.jar.identification.JarIdentificationAnalysis
The Maven information exposers to use during identification.

F

file - Variable in class org.apache.maven.shared.jar.JarData
The JAR file.
fileHash - Variable in class org.apache.maven.shared.jar.JarData
The hashcode for the entire file's contents.
fileHashAnalyzer - Variable in class org.apache.maven.shared.jar.identification.exposers.RepositorySearchExposer
The hash analyzer for the entire file.
FilenameExposer - Class in org.apache.maven.shared.jar.identification.exposers
Exposer that examines a JAR file to derive Maven metadata from the pattern of the JAR's filename.
FilenameExposer() - Constructor for class org.apache.maven.shared.jar.identification.exposers.FilenameExposer
 
filterEntries(Pattern) - Method in class org.apache.maven.shared.jar.JarAnalyzer
Filter a list of JAR entries against the pattern.
findStaticMainVersions() - Method in class org.apache.maven.shared.jar.identification.exposers.StaticMainOutputExposer
 
findTextFileVersions(JarAnalyzer) - Method in class org.apache.maven.shared.jar.identification.exposers.TextFileExposer
 

G

getArtifactId() - Method in class org.apache.maven.shared.jar.identification.JarIdentification
 
getBytecodeHash() - Method in class org.apache.maven.shared.jar.JarData
 
getClassEntries() - Method in class org.apache.maven.shared.jar.JarAnalyzer
Get all the classes in the JAR.
getClassNames() - Method in class org.apache.maven.shared.jar.classes.JarClasses
 
getEntries() - Method in class org.apache.maven.shared.jar.JarAnalyzer
Get all the contained files in the JAR.
getEntries() - Method in class org.apache.maven.shared.jar.JarData
 
getEntryInputStream(JarEntry) - Method in class org.apache.maven.shared.jar.JarAnalyzer
Get the data for an individual entry in the JAR.
getFile() - Method in class org.apache.maven.shared.jar.JarAnalyzer
Get the file that was opened by this analyzer.
getFile() - Method in class org.apache.maven.shared.jar.JarData
 
getFileHash() - Method in class org.apache.maven.shared.jar.JarData
 
getGroupId() - Method in class org.apache.maven.shared.jar.identification.JarIdentification
 
getImports() - Method in class org.apache.maven.shared.jar.classes.ImportVisitor
Get the list of discovered imports.
getImports() - Method in class org.apache.maven.shared.jar.classes.JarClasses
 
getJarClasses() - Method in class org.apache.maven.shared.jar.JarData
 
getJarData() - Method in class org.apache.maven.shared.jar.JarAnalyzer
 
getJarIdentification() - Method in class org.apache.maven.shared.jar.JarData
 
getJdkRevision() - Method in class org.apache.maven.shared.jar.classes.JarClasses
 
getJdkRevision() - Method in class org.apache.maven.shared.jar.JarData
 
getManifest() - Method in class org.apache.maven.shared.jar.JarData
 
getMavenPomEntries() - Method in class org.apache.maven.shared.jar.JarAnalyzer
Get all the Maven POM entries in the JAR.
getMethods() - Method in class org.apache.maven.shared.jar.classes.JarClasses
 
getName() - Method in class org.apache.maven.shared.jar.identification.JarIdentification
 
getNumClasses() - Method in class org.apache.maven.shared.jar.JarData
 
getNumEntries() - Method in class org.apache.maven.shared.jar.JarData
 
getNumPackages() - Method in class org.apache.maven.shared.jar.JarData
 
getPackages() - Method in class org.apache.maven.shared.jar.classes.JarClasses
 
getPotentialArtifactIds() - Method in class org.apache.maven.shared.jar.identification.JarIdentification
 
getPotentialGroupIds() - Method in class org.apache.maven.shared.jar.identification.JarIdentification
 
getPotentialNames() - Method in class org.apache.maven.shared.jar.identification.JarIdentification
 
getPotentialVendors() - Method in class org.apache.maven.shared.jar.identification.JarIdentification
 
getPotentialVersions() - Method in class org.apache.maven.shared.jar.identification.JarIdentification
 
getVendor() - Method in class org.apache.maven.shared.jar.identification.JarIdentification
 
getVersion() - Method in class org.apache.maven.shared.jar.identification.JarIdentification
 
getVersionEntries() - Method in class org.apache.maven.shared.jar.JarAnalyzer
Get all the version text files in the JAR.
groupId - Variable in class org.apache.maven.shared.jar.identification.JarIdentification
The group ID derived or guessed from the list of potentials of the JAR.

H

hasDebugSymbols(JavaClass) - Method in class org.apache.maven.shared.jar.classes.JarClassesAnalysis
 

I

imports - Variable in class org.apache.maven.shared.jar.classes.ImportVisitor
The list of imports discovered.
imports - Variable in class org.apache.maven.shared.jar.classes.JarClasses
The list of imports in the classes in the JAR.
ImportVisitor - Class in org.apache.maven.shared.jar.classes
Implementation of a BCEL class visitor that analyzes a class and collects imports.
ImportVisitor(JavaClass) - Constructor for class org.apache.maven.shared.jar.classes.ImportVisitor
Create an Import visitor.
isDebugPresent - Variable in class org.apache.maven.shared.jar.classes.JarClasses
Whether the JAR contains any code with debug information.
isDebugPresent() - Method in class org.apache.maven.shared.jar.classes.JarClasses
 
isDebugPresent() - Method in class org.apache.maven.shared.jar.JarData
 
isSealed() - Method in class org.apache.maven.shared.jar.JarData
 

J

JarAnalyzer - Class in org.apache.maven.shared.jar
Open a JAR file to be analyzed.
JarAnalyzer(File) - Constructor for class org.apache.maven.shared.jar.JarAnalyzer
Constructor.
JarBytecodeHashAnalyzer - Class in org.apache.maven.shared.jar.identification.hash
Analyzer that calculates the hash code for the entire file.
JarBytecodeHashAnalyzer() - Constructor for class org.apache.maven.shared.jar.identification.hash.JarBytecodeHashAnalyzer
 
JarClasses - Class in org.apache.maven.shared.jar.classes
Gathered facts about the classes within a JAR file.
JarClasses() - Constructor for class org.apache.maven.shared.jar.classes.JarClasses
Constructor to create an empty instance.
jarClasses - Variable in class org.apache.maven.shared.jar.JarData
Information about the JAR's classes.
JarClassesAnalysis - Class in org.apache.maven.shared.jar.classes
Analyze the classes in a JAR file.
JarClassesAnalysis() - Constructor for class org.apache.maven.shared.jar.classes.JarClassesAnalysis
 
JarClassesExposer - Class in org.apache.maven.shared.jar.identification.exposers
Exposer that examines a JAR file to derive Maven metadata from the classes in a JAR.
JarClassesExposer() - Constructor for class org.apache.maven.shared.jar.identification.exposers.JarClassesExposer
 
jarData - Variable in class org.apache.maven.shared.jar.JarAnalyzer
Contains information about the data collected so far.
JarData - Class in org.apache.maven.shared.jar
Class that contains details of a single JAR file and it's entries.
JarData(File, Manifest, List) - Constructor for class org.apache.maven.shared.jar.JarData
Constructor.
jarFile - Variable in class org.apache.maven.shared.jar.JarAnalyzer
The associated JAR file.
JarFileHashAnalyzer - Class in org.apache.maven.shared.jar.identification.hash
Analyzer that calculates the hash code for the entire file.
JarFileHashAnalyzer() - Constructor for class org.apache.maven.shared.jar.identification.hash.JarFileHashAnalyzer
 
JarHashAnalyzer - Interface in org.apache.maven.shared.jar.identification.hash
Classes that can calculate various hash signatures for a JAR file to later uniquely identify them.
JarIdentification - Class in org.apache.maven.shared.jar.identification
Gathered Maven information about the JAR file.
JarIdentification() - Constructor for class org.apache.maven.shared.jar.identification.JarIdentification
 
jarIdentification - Variable in class org.apache.maven.shared.jar.JarData
Information about the JAR's identifying features.
JarIdentificationAnalysis - Class in org.apache.maven.shared.jar.identification
Analyze the JAR file to identify Maven artifact metadata.
JarIdentificationAnalysis() - Constructor for class org.apache.maven.shared.jar.identification.JarIdentificationAnalysis
 
JarIdentificationExposer - Interface in org.apache.maven.shared.jar.identification
Expose information from a JAR during the identification process.
JAVA_1_1_CLASS_VERSION - Static variable in class org.apache.maven.shared.jar.classes.JarClassesAnalysis
 
JAVA_1_2_CLASS_VERSION - Static variable in class org.apache.maven.shared.jar.classes.JarClassesAnalysis
 
JAVA_1_3_CLASS_VERSION - Static variable in class org.apache.maven.shared.jar.classes.JarClassesAnalysis
 
JAVA_1_4_CLASS_VERSION - Static variable in class org.apache.maven.shared.jar.classes.JarClassesAnalysis
 
JAVA_1_5_CLASS_VERSION - Static variable in class org.apache.maven.shared.jar.classes.JarClassesAnalysis
 
JAVA_1_6_CLASS_VERSION - Static variable in class org.apache.maven.shared.jar.classes.JarClassesAnalysis
 
javaClass - Variable in class org.apache.maven.shared.jar.classes.ImportVisitor
The Java class that is being analyzed.
jdkRevision - Variable in class org.apache.maven.shared.jar.classes.JarClasses
The highest JVM revision available in any class files.

M

manifest - Variable in class org.apache.maven.shared.jar.JarData
The JAR's manifest.
ManifestExposer - Class in org.apache.maven.shared.jar.identification.exposers
Exposer that examines a JAR's manifest to derive Maven metadata.
ManifestExposer() - Constructor for class org.apache.maven.shared.jar.identification.exposers.ManifestExposer
 
MAVEN_POM_FILTER - Static variable in class org.apache.maven.shared.jar.JarAnalyzer
Pattern to filter JAR entries for Maven POM files.
methods - Variable in class org.apache.maven.shared.jar.classes.JarClasses
A list of methods within the classes in the JAR.

N

name - Variable in class org.apache.maven.shared.jar.identification.JarIdentification
The project name derived or guessed from the list of potentials of the JAR.
normalize(JarIdentification) - Method in class org.apache.maven.shared.jar.identification.JarIdentificationAnalysis
 

O

org.apache.maven.shared.jar - package org.apache.maven.shared.jar
 
org.apache.maven.shared.jar.classes - package org.apache.maven.shared.jar.classes
 
org.apache.maven.shared.jar.identification - package org.apache.maven.shared.jar.identification
 
org.apache.maven.shared.jar.identification.exposers - package org.apache.maven.shared.jar.identification.exposers
 
org.apache.maven.shared.jar.identification.hash - package org.apache.maven.shared.jar.identification.hash
 
org.apache.maven.shared.jar.identification.repository - package org.apache.maven.shared.jar.identification.repository
 

P

packages - Variable in class org.apache.maven.shared.jar.classes.JarClasses
A list of packages represented by classes in the JAR.
pickLargest(List) - Method in class org.apache.maven.shared.jar.identification.JarIdentificationAnalysis
 
pickSmallest(List) - Method in class org.apache.maven.shared.jar.identification.JarIdentificationAnalysis
 
potentialArtifactIds - Variable in class org.apache.maven.shared.jar.identification.JarIdentification
The list of possible artifact IDs discovered.
potentialGroupIds - Variable in class org.apache.maven.shared.jar.identification.JarIdentification
The list of possible group IDs discovered.
potentialNames - Variable in class org.apache.maven.shared.jar.identification.JarIdentification
The list of possible artifact names discovered.
potentialVendors - Variable in class org.apache.maven.shared.jar.identification.JarIdentification
The list of possible vendors discovered.
potentialVersions - Variable in class org.apache.maven.shared.jar.identification.JarIdentification
The list of possible versions discovered.

Q

QUALIFIED_IMPORT_PATTERN - Static variable in class org.apache.maven.shared.jar.classes.ImportVisitor
Pattern to detect if the import is qualified and allows retrieval of the actual import name from the string via the group 1.

R

repositoryHashSearch - Variable in class org.apache.maven.shared.jar.identification.exposers.RepositorySearchExposer
The repository searcher to use.
RepositoryHashSearch - Interface in org.apache.maven.shared.jar.identification.repository
Interface for Repository Hash Searches.
RepositorySearchExposer - Class in org.apache.maven.shared.jar.identification.exposers
Exposer that examines a Maven repository for identical files to the JAR being analyzed.
RepositorySearchExposer() - Constructor for class org.apache.maven.shared.jar.identification.exposers.RepositorySearchExposer
 

S

sealed - Variable in class org.apache.maven.shared.jar.JarData
Whether the JAR file is sealed.
searchBytecodeHash(String) - Method in class org.apache.maven.shared.jar.identification.repository.EmptyRepositoryHashSearch
 
searchBytecodeHash(String) - Method in interface org.apache.maven.shared.jar.identification.repository.RepositoryHashSearch
Search the repository for artifacts matching the given hash code when consider the bytecode of the classes in the file.
searchFileHash(String) - Method in class org.apache.maven.shared.jar.identification.repository.EmptyRepositoryHashSearch
 
searchFileHash(String) - Method in interface org.apache.maven.shared.jar.identification.repository.RepositoryHashSearch
Search the repository for artifacts matching the given hash code when consider the entire contents of the file.
setAnalyzer(JarClassesAnalysis) - Method in class org.apache.maven.shared.jar.identification.exposers.JarClassesExposer
 
setArtifactId(String) - Method in class org.apache.maven.shared.jar.identification.JarIdentification
 
setBytecodeHash(String) - Method in class org.apache.maven.shared.jar.JarData
 
setBytecodeHashAnalyzer(JarHashAnalyzer) - Method in class org.apache.maven.shared.jar.identification.exposers.RepositorySearchExposer
 
setDebugPresent(boolean) - Method in class org.apache.maven.shared.jar.classes.JarClasses
 
setDigester(StreamingDigester) - Method in class org.apache.maven.shared.jar.identification.hash.JarBytecodeHashAnalyzer
 
setDigester(Digester) - Method in class org.apache.maven.shared.jar.identification.hash.JarFileHashAnalyzer
 
setExposers(List) - Method in class org.apache.maven.shared.jar.identification.JarIdentificationAnalysis
 
setFileHash(String) - Method in class org.apache.maven.shared.jar.JarData
 
setFileHashAnalyzer(JarHashAnalyzer) - Method in class org.apache.maven.shared.jar.identification.exposers.RepositorySearchExposer
 
setGroupId(String) - Method in class org.apache.maven.shared.jar.identification.JarIdentification
 
setJarClasses(JarClasses) - Method in class org.apache.maven.shared.jar.JarData
 
setJarIdentification(JarIdentification) - Method in class org.apache.maven.shared.jar.JarData
 
setJdkRevision(String) - Method in class org.apache.maven.shared.jar.classes.JarClasses
 
setName(String) - Method in class org.apache.maven.shared.jar.identification.JarIdentification
 
setRepositoryHashSearch(RepositoryHashSearch) - Method in class org.apache.maven.shared.jar.identification.exposers.RepositorySearchExposer
 
setVendor(String) - Method in class org.apache.maven.shared.jar.identification.JarIdentification
 
setVersion(String) - Method in class org.apache.maven.shared.jar.identification.JarIdentification
 
StaticMainOutputExposer - Class in org.apache.maven.shared.jar.identification.exposers
Exposer that examines a a JAR for classes that have Version in the name and calls their main method if it exists to obtain the version.
StaticMainOutputExposer() - Constructor for class org.apache.maven.shared.jar.identification.exposers.StaticMainOutputExposer
 

T

TextFileExposer - Class in org.apache.maven.shared.jar.identification.exposers
Exposer that examines a a JAR for files that contain the text version (case-insensitive) and adds the contents as potential version(s).
TextFileExposer() - Constructor for class org.apache.maven.shared.jar.identification.exposers.TextFileExposer
 
TimestampExposer - Class in org.apache.maven.shared.jar.identification.exposers
Exposer that examines a a JAR and uses the most recent timestamp as a potential version.
TimestampExposer() - Constructor for class org.apache.maven.shared.jar.identification.exposers.TimestampExposer
 

V

VALID_UTF8_PATTERN - Static variable in class org.apache.maven.shared.jar.classes.ImportVisitor
Pattern that checks whether a string is valid UTF-8.
vendor - Variable in class org.apache.maven.shared.jar.identification.JarIdentification
The vendor (organization name) derived or guessed from the list of potentials of the JAR.
version - Variable in class org.apache.maven.shared.jar.identification.JarIdentification
The version derived or guessed from the list of potentials of the JAR.
VERSION_FILTER - Static variable in class org.apache.maven.shared.jar.JarAnalyzer
Pattern to filter JAR entries for text files that may contain a version.
VERSION_PATTERN - Static variable in class org.apache.maven.shared.jar.identification.exposers.FilenameExposer
 
visitConstantClass(ConstantClass) - Method in class org.apache.maven.shared.jar.classes.ImportVisitor
Find any formally declared import in the Constant Pool.
visitConstantUtf8(ConstantUtf8) - Method in class org.apache.maven.shared.jar.classes.ImportVisitor
Find any package class Strings in the UTF8 String Pool.

A B C D E F G H I J M N O P Q R S T V