org.odftoolkit.odfdom
Class JarManifest

java.lang.Object
  extended by org.odftoolkit.odfdom.JarManifest

public class JarManifest
extends java.lang.Object

Provides metadata about the ODFDOM library as build date, version number. Its main() method is the start method of the library, enabling the access of versioning methods from command line: "java -jar odfdom.jar".


Method Summary
static java.lang.String getOdfdomBuildDate()
          Return the date when ODFDOM had been build
static java.lang.String getOdfdomBuildResponsible()
          Return the name of the one building the ODFDOM library (ie. odfdom.jar)
static java.lang.String getOdfdomName()
          Return the name of ODFDOM;
static java.lang.String getOdfdomSupportedOdfVersion()
          Returns the version of the OpenDocument specification covered by the ODFDOM library (ie. odfdom.jar)
static java.lang.String getOdfdomTitle()
          Returns the ODFDOM library title
static java.lang.String getOdfdomVersion()
          Return the version of the ODFDOM library (ie. odfdom.jar)
static java.lang.String getOdfdomWebsite()
          Return the website of the ODFDOM library (ie. odfdom.jar)
static void main(java.lang.String[] args)
          The main method is meant to be called when the JAR is being executed, e.g.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.io.IOException
The main method is meant to be called when the JAR is being executed, e.g. "java -jar odfdom.jar" and provides versioning information: odfdom 0.9-SNAPSHOT (build 20100701-1729) from http://odftoolkit.org supporting ODF 1.2 Allowing version access from the JAR without the need to unzip the JAR nor naming the JAR (requiring the change of classpath for every version due to JAR naming change).

Throws:
java.io.IOException

getOdfdomName

public static java.lang.String getOdfdomName()
Return the name of ODFDOM;

Returns:
the ODFDOM library name

getOdfdomTitle

public static java.lang.String getOdfdomTitle()
Returns the ODFDOM library title

Returns:
A string containing both the name and the version of the ODFDOM library.

getOdfdomVersion

public static java.lang.String getOdfdomVersion()
Return the version of the ODFDOM library (ie. odfdom.jar)

Returns:
the ODFDOM library version

getOdfdomWebsite

public static java.lang.String getOdfdomWebsite()
Return the website of the ODFDOM library (ie. odfdom.jar)

Returns:
the ODFDOM library website

getOdfdomBuildResponsible

public static java.lang.String getOdfdomBuildResponsible()
Return the name of the one building the ODFDOM library (ie. odfdom.jar)

Returns:
the name of the ODFDOM library builder

getOdfdomBuildDate

public static java.lang.String getOdfdomBuildDate()
Return the date when ODFDOM had been build

Returns:
the date of the build

getOdfdomSupportedOdfVersion

public static java.lang.String getOdfdomSupportedOdfVersion()
Returns the version of the OpenDocument specification covered by the ODFDOM library (ie. odfdom.jar)

Returns:
the supported ODF version number


Copyright © 2008-2010 ODF Toolkit Project. All Rights Reserved.