org.odftoolkit.simple
Class JarManifest

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

public class JarManifest
extends Object

Provides meta data about the Simple ODF library as build date, version number. Its main() method is the start method of the library, enabling the access of version methods from command line: "java -jar simple-odf.jar".


Method Summary
static String getSimpleOdfBuildDate()
          Return the date when Simple ODF had been build
static String getSimpleOdfBuildResponsible()
          Return the name of the one building the Simple ODF library (ie.
static String getSimpleOdfName()
          Return the name of Simple ODF;
static String getSimpleOdfSupportedOdfVersion()
          Returns the version of the OpenDocument specification covered by the Simple ODF library (ie.
static String getSimpleOdfTitle()
          Returns the Simple ODF library title
static String getSimpleOdfVersion()
          Return the version of the Simple ODF library (ie.
static String getSimpleOdfWebsite()
          Return the website of the Simple ODF 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-odf.jar" and provides version information: simple-odf 0.3 (build 20110201-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 class path for every version due to JAR naming change).

Throws:
IOException

getSimpleOdfName

public static String getSimpleOdfName()
Return the name of Simple ODF;

Returns:
the Simple ODF library name

getSimpleOdfTitle

public static String getSimpleOdfTitle()
Returns the Simple ODF library title

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

getSimpleOdfVersion

public static String getSimpleOdfVersion()
Return the version of the Simple ODF library (ie. simple-odf.jar)

Returns:
the Simple ODF library version

getSimpleOdfWebsite

public static String getSimpleOdfWebsite()
Return the website of the Simple ODF library (ie. simple-odf.jar)

Returns:
the Simple ODF library website

getSimpleOdfBuildResponsible

public static String getSimpleOdfBuildResponsible()
Return the name of the one building the Simple ODF library (ie. simple-odf.jar)

Returns:
the name of the Simple ODF library builder

getSimpleOdfBuildDate

public static String getSimpleOdfBuildDate()
Return the date when Simple ODF had been build

Returns:
the date of the build

getSimpleOdfSupportedOdfVersion

public static String getSimpleOdfSupportedOdfVersion()
Returns the version of the OpenDocument specification covered by the Simple ODF library (ie. simple-odf.jar)

Returns:
the supported ODF version number


Copyright © 2010-2017 The Apache Software Foundation. All Rights Reserved.