JarInformation

public class JarInformation

Holds all important information about JAR.

Fields

BUNDLE_SYMBOLIC_NAME

public static final String BUNDLE_SYMBOLIC_NAME

BUNDLE_VERSION

public static final String BUNDLE_VERSION

EXTRACTION_FAILED

public static final String EXTRACTION_FAILED

IMPLEMENTATION_TITLE

public static final String IMPLEMENTATION_TITLE

IMPLEMENTATION_VENDOR_ID

public static final String IMPLEMENTATION_VENDOR_ID

IMPLEMENTATION_VERSION

public static final String IMPLEMENTATION_VERSION

Constructors

JarInformation

public JarInformation(File file)

Constructor,

Parameters:
  • file – the file representation of a jar file or directory containing extracted jar
Throws:
  • IOException – if an I/O error has occurred

Methods

getBundleSymbolicName

public String getBundleSymbolicName()

getBundleVersion

public String getBundleVersion()

getFilename

public String getFilename()

getImplementationTitle

public String getImplementationTitle()

getImplementationVendorID

public String getImplementationVendorID()

getImplementationVersion

public String getImplementationVersion()

getPath

public String getPath()

getPomInformation

public PomInformation getPomInformation()

isMotechPlatformBundle

public boolean isMotechPlatformBundle()

readPOMInformation

public void readPOMInformation(File file)

Reads information from pom file and stores information about repositories and dependencies in this object.

Parameters:
  • file – the file representation of a jar file or directory containing extracted jar

setPomInformation

public void setPomInformation(PomInformation pomInformation)