Package org.glassfish.spec
Class Metadata
- java.lang.Object
-
- org.glassfish.spec.Metadata
-
public final class Metadata extends Object
- Author:
- Romain Grecourt
-
-
Field Summary
Fields Modifier and Type Field Description static StringBUNDLE_SPEC_VERSIONstatic StringBUNDLE_SYMBOLIC_NAMEstatic StringBUNDLE_VERSIONstatic StringJAR_EXTENSION_NAMEstatic StringJAR_IMPLEMENTATION_VERSIONstatic StringJAR_SPECIFICATION_VERSION
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MetadatafromJar(JarFile jar)StringgetBundleSpecVersion()StringgetBundleSymbolicName()StringgetBundleVersion()List<String>getErrors()StringgetJarExtensionName()StringgetjarImplementationVersion()StringgetJarSpecificationVersion()PropertiesgetProperties()
-
-
-
Field Detail
-
BUNDLE_SYMBOLIC_NAME
public static final String BUNDLE_SYMBOLIC_NAME
- See Also:
- Constant Field Values
-
BUNDLE_SPEC_VERSION
public static final String BUNDLE_SPEC_VERSION
- See Also:
- Constant Field Values
-
BUNDLE_VERSION
public static final String BUNDLE_VERSION
- See Also:
- Constant Field Values
-
JAR_EXTENSION_NAME
public static final String JAR_EXTENSION_NAME
- See Also:
- Constant Field Values
-
JAR_SPECIFICATION_VERSION
public static final String JAR_SPECIFICATION_VERSION
- See Also:
- Constant Field Values
-
JAR_IMPLEMENTATION_VERSION
public static final String JAR_IMPLEMENTATION_VERSION
- See Also:
- Constant Field Values
-
-
Method Detail
-
fromJar
public static Metadata fromJar(JarFile jar) throws IOException
- Throws:
IOException
-
getBundleSymbolicName
public String getBundleSymbolicName()
-
getBundleSpecVersion
public String getBundleSpecVersion()
-
getBundleVersion
public String getBundleVersion()
-
getJarExtensionName
public String getJarExtensionName()
-
getJarSpecificationVersion
public String getJarSpecificationVersion()
-
getjarImplementationVersion
public String getjarImplementationVersion()
-
getProperties
public Properties getProperties()
-
-