org.vizzini.util
Class SystemProperties

java.lang.Object
  extended by org.vizzini.util.SystemProperties

public final class SystemProperties
extends Object

Provides convenience methods to obtain system properties.

Since:
v0.1
Version:
v0.3
Author:
Jeffrey M. Thompson

Method Summary
 String asString()
          Return a string representation of the system properties.
 Properties get()
          Return the system properties.
static SystemProperties getInstance()
          Return the singleton instance.
 String getJavaRuntime()
          Return the Java runtime description.
 String getJavaVersion()
          Return the Java version description.
 String getJavaVirtualMachine()
          Return the Java virtual machine description.
static void main(String[] args)
          Application method.
 void print()
          Print the system properties to standard out.
 void printAlphabetized()
          Print the system properties to standard out, alphabetized by key.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static SystemProperties getInstance()
Return the singleton instance.

Since:
v0.2

main

public static final void main(String[] args)
Application method.

Since:
v0.1

asString

public String asString()
Return a string representation of the system properties.

Since:
v0.1

get

public Properties get()
Return the system properties.

Since:
v0.1

getJavaRuntime

public String getJavaRuntime()
Return the Java runtime description.

Since:
v0.2

getJavaVersion

public String getJavaVersion()
Return the Java version description.

Since:
v0.2

getJavaVirtualMachine

public String getJavaVirtualMachine()
Return the Java virtual machine description.

Since:
v0.2

print

public void print()
Print the system properties to standard out.

Since:
v0.1

printAlphabetized

public void printAlphabetized()
Print the system properties to standard out, alphabetized by key.

Since:
v0.1


Copyright 2007 Vizzini.org. All Rights Reserved. 2007.12.25.03.00.02