Class JarData

java.lang.Object
org.apache.maven.shared.jar.JarData

public final class JarData extends Object
Class that contains details of a single JAR file and it's entries.
  • Constructor Details

    • JarData

      public JarData(File file, Manifest manifest, List<JarEntry> entries)
      Constructor.
      Parameters:
      file - the JAR file
      manifest - the JAR manifest
      entries - the JAR entries
  • Method Details

    • getEntries

      public List<JarEntry> getEntries()
    • getManifest

      public Manifest getManifest()
    • getFile

      public File getFile()
    • isSealed

      public boolean isSealed()
    • setFileHash

      public void setFileHash(String fileHash)
    • getFileHash

      public String getFileHash()
    • setBytecodeHash

      public void setBytecodeHash(String bytecodeHash)
    • getBytecodeHash

      public String getBytecodeHash()
    • isDebugPresent

      public boolean isDebugPresent()
    • setJarClasses

      public void setJarClasses(JarClasses jarClasses)
    • getNumEntries

      public int getNumEntries()
    • getNumClasses

      public int getNumClasses()
    • getNumPackages

      public int getNumPackages()
    • getJdkRevision

      public String getJdkRevision()
    • setJarIdentification

      public void setJarIdentification(JarIdentification jarIdentification)
    • getJarIdentification

      public JarIdentification getJarIdentification()
    • getJarClasses

      public JarClasses getJarClasses()