GlueGen v2.6.0-rc-20250712
GlueGen, Native Binding Generator for Java™ (public API).
com.jogamp.common.util.VersionUtil Class Reference
Collaboration diagram for com.jogamp.common.util.VersionUtil:

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 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 StringBuilder getFullManifestInfo (final Manifest mf, StringBuilder sb)
 

Static Public Attributes

static final String SEPERATOR = "-----------------------------------------------------------------------------------------------------"
 

Detailed Description

Definition at line 45 of file VersionUtil.java.

Member Function Documentation

◆ getFullManifestInfo()

static StringBuilder com.jogamp.common.util.VersionUtil.getFullManifestInfo ( final Manifest  mf,
StringBuilder  sb 
)
static

Definition at line 157 of file VersionUtil.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getManifest() [1/2]

static Manifest com.jogamp.common.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
clA ClassLoader which should find the manifest.
extensionThe 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 109 of file VersionUtil.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getManifest() [2/2]

static Manifest com.jogamp.common.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
clA ClassLoader which should find the manifest.
extensionsThe 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 121 of file VersionUtil.java.

Here is the call graph for this function:

◆ getPlatformInfo() [1/2]

static String com.jogamp.common.util.VersionUtil.getPlatformInfo ( )
static

Prints platform info.

See also
getPlatformInfo(java.lang.StringBuilder)

Definition at line 98 of file VersionUtil.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getPlatformInfo() [2/2]

static StringBuilder com.jogamp.common.util.VersionUtil.getPlatformInfo ( StringBuilder  sb)
static

Appends environment information like OS, JVM and CPU architecture properties to the StringBuilder.

Definition at line 52 of file VersionUtil.java.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ SEPERATOR

final String com.jogamp.common.util.VersionUtil.SEPERATOR = "-----------------------------------------------------------------------------------------------------"
static

Definition at line 47 of file VersionUtil.java.


The documentation for this class was generated from the following file: