|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttuwien.auto.calimero.Settings
public final class Settings
General settings used in Calimero as well as Calimero related user information.
Method Summary | |
---|---|
static java.lang.String |
getBundleListing()
Returns a listing containing all library bundles stating the bundle's presence for use. |
static java.lang.String |
getLibraryHeader(boolean verbose)
Returns a default library header representation with general/usage information. |
static java.lang.String |
getLibraryVersion()
Returns the Calimero library version as string representation. |
static void |
main(java.lang.String[] args)
This entry routine of the library prints information to the standard output stream (System.out), mainly for user information. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.lang.String getBundleListing()
For loading a bundle, the default system class loader is used. A bundle is present
if it can be loaded using the class loader, otherwise it is considered not
available for use.
An available bundle entry starts with a '+' and consists of a short bundle name and
the base package identifier string, a bundle not present starts with '-' and
consists of a short name and is marked with the suffix "- not available".
The bundle entries in the returned string are separated using the newline ('\n')
character.
public static java.lang.String getLibraryHeader(boolean verbose)
It includes stuff like the library name, library version, name and institute of the 'Vienna University of Technology' where the library was developed, and copyright. The returned information parts are divided using the newline ('\n') character.
verbose
- true
to return all header information just mentioned,
false
to only return library name and version comprised of
one line (no line separators)
public static java.lang.String getLibraryVersion()
The returned version is formatted something similar to "main.minor[.milli][-phase]", for example "2.0.0-alpha".
public static void main(java.lang.String[] args)
Recognized options for output:
args
- argument list with options controlling output information
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |