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 String
BUNDLE_SPEC_VERSION
static String
BUNDLE_SYMBOLIC_NAME
static String
BUNDLE_VERSION
static String
JAR_EXTENSION_NAME
static String
JAR_IMPLEMENTATION_VERSION
static String
JAR_SPECIFICATION_VERSION
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Metadata
fromJar(JarFile jar)
String
getBundleSpecVersion()
String
getBundleSymbolicName()
String
getBundleVersion()
List<String>
getErrors()
String
getJarExtensionName()
String
getjarImplementationVersion()
String
getJarSpecificationVersion()
Properties
getProperties()
-
-
-
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()
-
-