Package org.apache.maven.shared.jar
Class JarData
java.lang.Object
org.apache.maven.shared.jar.JarData
Class that contains details of a single JAR file and it's entries.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetFile()
int
int
int
int
boolean
boolean
boolean
isSealed()
void
setBytecodeHash
(String bytecodeHash) void
setFileHash
(String fileHash) void
setJarClasses
(JarClasses jarClasses) void
setJarIdentification
(JarIdentification jarIdentification) void
setRootEntries
(List<JarEntry> rootEntries) void
setVersionedRuntimes
(JarVersionedRuntimes versionedRuntimes)
-
Constructor Details
-
JarData
Constructor.- Parameters:
file
- the JAR filemanifest
- the JAR manifestentries
- the JAR entries
-
-
Method Details
-
getEntries
-
getRootEntries
-
setRootEntries
-
getManifest
-
getFile
-
isSealed
public boolean isSealed() -
isMultiRelease
public boolean isMultiRelease() -
setFileHash
-
getFileHash
-
setBytecodeHash
-
getBytecodeHash
-
isDebugPresent
public boolean isDebugPresent() -
getNumEntries
public int getNumEntries() -
getNumRootEntries
public int getNumRootEntries() -
getNumClasses
public int getNumClasses() -
getNumPackages
public int getNumPackages() -
getJdkRevision
-
getJarIdentification
-
getJarClasses
-
getVersionedRuntimes
-