| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static StringBuilder | |
| public static Manifest | Returns: the requested manifest or null when not found.A ClassLoader which should find the manifest. cl, final String The value of the 'Extension-Name' jar-manifest attribute; used to identify the manifest. extension)Returns the manifest of the jar which contains the specified extension. |
| public static Manifest | Returns: the requested manifest or null when not found.A ClassLoader which should find the manifest. cl, final String[] 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. extensions)Returns the manifest of the jar which contains one of the specified extensions. |
| public static StringBuilder | getPlatformInfo(StringBuilder sb)
Appends environment information like OS, JVM and CPU architecture properties to the StringBuilder. |
| public static String |
| SEPERATOR | back to summary |
|---|---|
| public static final String SEPERATOR | |
| VersionUtil | back to summary |
|---|---|
| public VersionUtil() | |
| getFullManifestInfo | back to summary |
|---|---|
| public static StringBuilder getFullManifestInfo(final Manifest mf, StringBuilder sb) | |
| getManifest | back to summary |
|---|---|
| public static Manifest getManifest(final ClassLoader cl, final String extension) Returns the manifest of the jar which contains the specified extension. The provided ClassLoader is used for resource loading.
| |
| getManifest | back to summary |
|---|---|
| public static Manifest getManifest(final ClassLoader cl, final String[] extensions) Returns the manifest of the jar which contains one of the specified extensions. The provided ClassLoader is used for resource loading.
| |
| getPlatformInfo | back to summary |
|---|---|
| public static StringBuilder getPlatformInfo(StringBuilder sb) Appends environment information like OS, JVM and CPU architecture properties to the StringBuilder. | |
| getPlatformInfo | back to summary |
|---|---|
| public static String getPlatformInfo() Prints platform info. | |