net.sourceforge.jpalm
Class PackageProperties

java.lang.Object
  extended by net.sourceforge.jpalm.PackageProperties

public class PackageProperties
extends java.lang.Object

Properties related to the net.sourceforge.jpalm package.


Field Summary
static java.lang.String RESOURCE
          The properties file to load.
 
Constructor Summary
PackageProperties()
          Creates a new instance, loading properties from "net/sourceforge/jpalm/resources/package.properties".
 
Method Summary
 java.lang.String getName()
          Gets the package short name.
 java.lang.String getVersion()
          Gets the package version.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCE

public static final java.lang.String RESOURCE
The properties file to load. "net/sourceforge/jpalm/resources/package.properties"

See Also:
Constant Field Values
Constructor Detail

PackageProperties

public PackageProperties()
                  throws java.io.IOException
Creates a new instance, loading properties from "net/sourceforge/jpalm/resources/package.properties".

Throws:
java.io.IOException
Method Detail

getName

public java.lang.String getName()
Gets the package short name.

Returns:
name, or "unknown" if there was an error loading this property.

getVersion

public java.lang.String getVersion()
Gets the package version.

Returns:
version, or "unknown" if there was an error loading this property.