com.xebialabs.deployit.service.importer.reader
Class ManifestReader

java.lang.Object
  extended by com.xebialabs.deployit.service.importer.reader.ManifestReader

public class ManifestReader
extends java.lang.Object


Field Summary
static java.lang.String APPLICATION_ATTRIBUTE_NAME
           
static java.lang.String PACKAGE_FORMAT_VERSION_ATTRIBUTE_NAME
           
static java.lang.String PACKAGE_FORMAT_VERSION_NUMBER
           
static java.lang.String VERSION_ATTRIBUTE_NAME
           
 
Constructor Summary
ManifestReader()
           
 
Method Summary
static java.lang.String getApplicationName(java.util.jar.Manifest manifest)
           
static java.lang.String getApplicationVersion(java.util.jar.Manifest manifest)
           
static java.util.jar.Manifest readManifest(de.schlichtherle.truezip.file.TFile manifestFile)
           
static void verifyPackageFormatVersion(java.util.jar.Manifest manifest)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PACKAGE_FORMAT_VERSION_ATTRIBUTE_NAME

public static final java.lang.String PACKAGE_FORMAT_VERSION_ATTRIBUTE_NAME
See Also:
Constant Field Values

PACKAGE_FORMAT_VERSION_NUMBER

public static final java.lang.String PACKAGE_FORMAT_VERSION_NUMBER
See Also:
Constant Field Values

APPLICATION_ATTRIBUTE_NAME

public static final java.lang.String APPLICATION_ATTRIBUTE_NAME
See Also:
Constant Field Values

VERSION_ATTRIBUTE_NAME

public static final java.lang.String VERSION_ATTRIBUTE_NAME
See Also:
Constant Field Values
Constructor Detail

ManifestReader

public ManifestReader()
Method Detail

readManifest

public static java.util.jar.Manifest readManifest(de.schlichtherle.truezip.file.TFile manifestFile)

getApplicationName

public static java.lang.String getApplicationName(java.util.jar.Manifest manifest)

getApplicationVersion

public static java.lang.String getApplicationVersion(java.util.jar.Manifest manifest)

verifyPackageFormatVersion

public static void verifyPackageFormatVersion(java.util.jar.Manifest manifest)