jaulib v1.3.0
Jau Support Library (C++, Java, ..)
Static Public Member Functions | Static Public Attributes | List of all members
org.jau.util.VersionUtil Class Reference
Collaboration diagram for org.jau.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 44 of file VersionUtil.java.

Member Function Documentation

◆ getFullManifestInfo()

static StringBuilder org.jau.util.VersionUtil.getFullManifestInfo ( final Manifest  mf,
StringBuilder  sb 
)
static

Definition at line 155 of file VersionUtil.java.

Here is the caller graph for this function:

◆ 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
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 107 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 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
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 119 of file VersionUtil.java.

Here is the call graph for this function:

◆ getPlatformInfo() [1/2]

static String org.jau.util.VersionUtil.getPlatformInfo ( )
static

Prints platform info.

See also
getPlatformInfo(java.lang.StringBuilder)

Definition at line 96 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 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.

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

Member Data Documentation

◆ SEPERATOR

final String org.jau.util.VersionUtil.SEPERATOR = "-----------------------------------------------------------------------------------------------------"
static

Definition at line 46 of file VersionUtil.java.


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