LibreOffice Module xmerge (master) 1
Static Public Member Functions | Private Member Functions | Static Private Attributes | List of all members
org.openoffice.xmerge.Version Class Reference

This class provides a quick utility to check the version of the jar file. More...

Collaboration diagram for org.openoffice.xmerge.Version:
[legend]

Static Public Member Functions

static String getSpecificationVersion ()
 Returns specification version. More...
 
static String getImplementationVersion ()
 Returns implementation version. More...
 
static void main (String args[])
 Main method for printing out version info. More...
 

Private Member Functions

 Version ()
 Private constructor to provide a singleton instance. More...
 

Static Private Attributes

static final Version version = new Version()
 
static final Package pkg = version.getClass().getPackage()
 

Detailed Description

This class provides a quick utility to check the version of the jar file.

It has a main method that prints out the version info. It also provides two static methods for runtime classes to query.

Definition at line 27 of file Version.java.

Constructor & Destructor Documentation

◆ Version()

org.openoffice.xmerge.Version.Version ( )
inlineprivate

Private constructor to provide a singleton instance.

Definition at line 36 of file Version.java.

Member Function Documentation

◆ getImplementationVersion()

static String org.openoffice.xmerge.Version.getImplementationVersion ( )
inlinestatic

Returns implementation version.

Returns
The implementation version.

Definition at line 53 of file Version.java.

References org.openoffice.xmerge.Version.pkg, and String.

◆ getSpecificationVersion()

static String org.openoffice.xmerge.Version.getSpecificationVersion ( )
inlinestatic

Returns specification version.

Returns
The specification version.

Definition at line 44 of file Version.java.

References org.openoffice.xmerge.Version.pkg, and String.

◆ main()

static void org.openoffice.xmerge.Version.main ( String  args[])
inlinestatic

Main method for printing out version info.

Parameters
argsArray of arguments, not used.

Definition at line 62 of file Version.java.

References org.openoffice.xmerge.Version.pkg, and System.

Member Data Documentation

◆ pkg

final Package org.openoffice.xmerge.Version.pkg = version.getClass().getPackage()
staticprivate

◆ version

final Version org.openoffice.xmerge.Version.version = new Version()
staticprivate

Definition at line 29 of file Version.java.


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