|
| static StringBuilder | getPlatformInfo (StringBuilder sb) |
| | Appends environment information like OS, JVM and CPU architecture properties to the StringBuilder.
|
| |
| static String | getPlatformInfo () |
| | Prints platform info.
|
| |
| static Manifest | getManifest (final ClassLoader cl, final String extension) |
| | Returns the manifest of the jar which contains the specified extension.
|
| |
| static Manifest | getManifest (final ClassLoader cl, final String[] extensions) |
| | Returns the manifest of the jar which contains one of the specified extensions.
|
| |
| static StringBuilder | getFullManifestInfo (final Manifest mf, StringBuilder sb) |
| |
|
| static final String | SEPERATOR = "-----------------------------------------------------------------------------------------------------" |
| |
Definition at line 44 of file VersionUtil.java.
◆ getFullManifestInfo()
| static StringBuilder org.jau.util.VersionUtil.getFullManifestInfo |
( |
final Manifest | mf, |
|
|
StringBuilder | sb ) |
|
static |
◆ getManifest() [1/2]
| static Manifest org.jau.util.VersionUtil.getManifest |
( |
final ClassLoader | cl, |
|
|
final String | extension ) |
|
static |
Returns the manifest of the jar which contains the specified extension.
The provided ClassLoader is used for resource loading.
- Parameters
-
| cl | A ClassLoader which should find the manifest. |
| extension | The value of the 'Extension-Name' jar-manifest attribute; used to identify the manifest. |
- Returns
- the requested manifest or null when not found.
Definition at line 107 of file VersionUtil.java.
◆ getManifest() [2/2]
| static Manifest org.jau.util.VersionUtil.getManifest |
( |
final ClassLoader | cl, |
|
|
final String[] | extensions ) |
|
static |
Returns the manifest of the jar which contains one of the specified extensions.
The provided ClassLoader is used for resource loading.
- Parameters
-
| cl | A ClassLoader which should find 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. |
- Returns
- the requested manifest or null when not found.
Definition at line 119 of file VersionUtil.java.
◆ getPlatformInfo() [1/2]
| static String org.jau.util.VersionUtil.getPlatformInfo |
( |
| ) |
|
|
static |
◆ getPlatformInfo() [2/2]
| static StringBuilder org.jau.util.VersionUtil.getPlatformInfo |
( |
StringBuilder | sb | ) |
|
|
static |
Appends environment information like OS, JVM and CPU architecture properties to the StringBuilder.
Definition at line 51 of file VersionUtil.java.
◆ SEPERATOR
| final String org.jau.util.VersionUtil.SEPERATOR = "-----------------------------------------------------------------------------------------------------" |
|
static |
The documentation for this class was generated from the following file: