edu.ucla.loni.LOVE
Class Preference

java.lang.Object
  extended by edu.ucla.loni.LOVE.Preference

public class Preference
extends java.lang.Object

Provides central control of various environment related settings or user preferences.


Constructor Summary
Preference()
           
 
Method Summary
static java.lang.String getHomeDir()
          Get the home directory of this program.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Preference

public Preference()
Method Detail

getHomeDir

public static java.lang.String getHomeDir()
Get the home directory of this program. Reason to use this method instead of System.getProperty("user.dir") directly is that we may use an environment setting for this parameter. User may use: "LOVE_HOME = /usr/bin/LOVE" to specify this.

Returns:
Home directory of LOVE