Package com.jogamp.common.util
Class VersionUtil
java.lang.Object
com.jogamp.common.util.VersionUtil
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringBuildergetFullManifestInfo(Manifest mf, StringBuilder sb) static ManifestgetManifest(ClassLoader cl, String extension) Returns the manifest of the jar which contains the specified extension.static ManifestgetManifest(ClassLoader cl, String[] extensions) Returns the manifest of the jar which contains one of the specified extensions.static StringPrints platform info.static StringBuilderAppends environment information like OS, JVM and CPU architecture properties to the StringBuilder.
-
Field Details
-
SEPERATOR
- See Also:
-
-
Constructor Details
-
VersionUtil
public VersionUtil()
-
-
Method Details
-
getPlatformInfo
Appends environment information like OS, JVM and CPU architecture properties to the StringBuilder. -
getPlatformInfo
Prints platform info.- See Also:
-
getManifest
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.
-
getManifest
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.
-
getFullManifestInfo
-