|
GlueGen v2.6.0
GlueGen, Native Binding Generator for Java (public API).
|
Static Public Member Functions | |
| static StringBuilder | getPlatformInfo (StringBuilder sb) |
| Appends environment information like OS, JVM and CPU architecture properties to the StringBuilder. More... | |
| static String | getPlatformInfo () |
| Prints platform info. More... | |
| static String | getExtensionName (final Manifest mf) |
| Returns the manifest's Attributes.Name.EXTENSION_NAME, i.e. More... | |
| static String | getExtensionName (final Attributes attributes) |
| Returns the attributes' Attributes.Name.EXTENSION_NAME, i.e. More... | |
| static Manifest | getManifest (final ClassLoader cl, final String extension) |
| Returns the manifest of the jar which contains the specified extension. More... | |
| static Manifest | getManifest (final ClassLoader cl, final String[] extensions) |
| Returns the manifest of the jar which contains one of the specified extensions. More... | |
| static Manifest | getManifest (final ClassLoader cl, final String[] extensions, final boolean acceptFirst) |
| Returns the manifest of the jar which contains one of the specified extensions. More... | |
| static StringBuilder | getFullManifestInfo (final Manifest mf, StringBuilder sb) |
Static Public Attributes | |
| static final String | SEPERATOR = "-----------------------------------------------------------------------------------------------------" |
Definition at line 49 of file VersionUtil.java.
|
static |
Returns the attributes' Attributes.Name.EXTENSION_NAME, i.e.
package-name.
Definition at line 112 of file VersionUtil.java.
|
static |
Returns the manifest's Attributes.Name.EXTENSION_NAME, i.e.
package-name.
Definition at line 108 of file VersionUtil.java.
|
static |
Definition at line 224 of file VersionUtil.java.
|
static |
Returns the manifest of the jar which contains the specified extension.
The provided ClassLoader is used for resource loading, while excluding its parent-classloader resources.
| cl | ClassLoader used to locate the manifest. |
| extension | The value of the 'Extension-Name' jar-manifest attribute; used to identify the manifest. |
Definition at line 126 of file VersionUtil.java.
|
static |
Returns the manifest of the jar which contains one of the specified extensions.
The provided ClassLoader is used for resource loading, while excluding its parent-classloader resources.
| cl | ClassLoader used to locate the manifest. |
| extensions | The values of many 'Extension-Name's jar-manifest attribute; used to identify the manifest. Matching is applied in decreasing order, i.e. first element is favored over the second, etc. |
Definition at line 138 of file VersionUtil.java.
|
static |
Returns the manifest of the jar which contains one of the specified extensions.
The provided ClassLoader is used for resource loading, while excluding its parent-classloader resources.
| cl | ClassLoader used to locate the manifest. |
| extensions | The values of many 'Extension-Name's jar-manifest attribute; used to identify the manifest. Matching is applied in decreasing order, i.e. first element is favored over the second, etc. |
| acceptFirst | pass true to accept the first Manifest w/ an extension-name if non matching extension is found |
Definition at line 151 of file VersionUtil.java.
|
static |
Prints platform info.
Definition at line 103 of file VersionUtil.java.
|
static |
Appends environment information like OS, JVM and CPU architecture properties to the StringBuilder.
Definition at line 57 of file VersionUtil.java.
|
static |
Definition at line 52 of file VersionUtil.java.