Configuration Class Reference

List of all members.

Static Public Member Functions

static File getConfigFile (String configFileKey)
 TODO: Works for now, but won't work once we package it in a JAR.
static Properties getPropertiesFromConfigFile (String configFileKey)
static String getPropertyFromConfigFile (String propertyName, String configFileKey)

Detailed Description

The design of this configuration scheme was informed by Jeff Heer's prefuse code. It is incomplete, but when properly implemented, it will allow a user of this toolkit to retrieve resources from the JAR, and customize the operation of the toolkit with one or more config files.

This software is distributed under the BSD License.

Author:
Ron B Yeh (ronyeh(AT)cs.stanford.edu)

Definition at line 31 of file Configuration.java.


Member Function Documentation

static File getConfigFile ( String  configFileKey  )  [static]

TODO: Works for now, but won't work once we package it in a JAR.

Parameters:
configFileKey 
Returns:

Definition at line 56 of file Configuration.java.

static Properties getPropertiesFromConfigFile ( String  configFileKey  )  [static]

Parameters:
configFileKey 
Returns:

Definition at line 86 of file Configuration.java.

Referenced by Configuration.getPropertyFromConfigFile().

static String getPropertyFromConfigFile ( String  propertyName,
String  configFileKey 
) [static]

Parameters:
propertyName 
configFileKey 
Returns:

Definition at line 116 of file Configuration.java.

References Configuration.getPropertiesFromConfigFile().


The documentation for this class was generated from the following file:
Generated on Sat Apr 14 18:21:41 2007 for R3 Paper Toolkit by  doxygen 1.4.7