org.odftoolkit.simple
Class JarManifest

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

public class JarManifest
extends Object

Provides metadata about the SIMPLE 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 simple.jar".


Method Summary
static String getSimpleBuildDate()
          Return the date when SIMPLE had been build
static String getSimpleBuildResponsible()
          Return the name of the one building the SIMPLE library (ie.
static String getSimpleName()
          Return the name of SIMPLE;
static String getSimpleSupportedOdfVersion()
          Returns the version of the OpenDocument specification covered by the SIMPLE library (ie.
static String getSimpleTitle()
          Returns the SIMPLE library title
static String getSimpleVersion()
          Return the version of the SIMPLE library (ie.
static String getSimpleWebsite()
          Return the website of the SIMPLE library (ie.
static void main(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(String[] args)
                 throws IOException
The main method is meant to be called when the JAR is being executed, e.g. "java -jar simple.jar" and provides versioning information: simple 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:
IOException

getSimpleName

public static String getSimpleName()
Return the name of SIMPLE;

Returns:
the SIMPLE library name

getSimpleTitle

public static String getSimpleTitle()
Returns the SIMPLE library title

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

getSimpleVersion

public static String getSimpleVersion()
Return the version of the SIMPLE library (ie. simple.jar)

Returns:
the SIMPLE library version

getSimpleWebsite

public static String getSimpleWebsite()
Return the website of the SIMPLE library (ie. simple.jar)

Returns:
the SIMPLE library website

getSimpleBuildResponsible

public static String getSimpleBuildResponsible()
Return the name of the one building the SIMPLE library (ie. simple.jar)

Returns:
the name of the SIMPLE library builder

getSimpleBuildDate

public static String getSimpleBuildDate()
Return the date when SIMPLE had been build

Returns:
the date of the build

getSimpleSupportedOdfVersion

public static String getSimpleSupportedOdfVersion()
Returns the version of the OpenDocument specification covered by the SIMPLE library (ie. simple.jar)

Returns:
the supported ODF version number


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