|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.Dictionary<K,V> java.util.Hashtable<java.lang.Object,java.lang.Object> java.util.Properties edu.stanford.hci.r3.config.Configuration
public class Configuration
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.
Field Summary |
---|
Fields inherited from class java.util.Properties |
---|
defaults |
Method Summary | |
---|---|
static java.io.File |
getConfigFile(java.lang.String configFileKey)
TODO: Works for now, but won't work once we package it in a JAR. |
static java.util.Properties |
getPropertiesFromConfigFile(java.lang.String configFileKey)
|
static java.lang.String |
getPropertyFromConfigFile(java.lang.String propertyName,
java.lang.String configFileKey)
|
Methods inherited from class java.util.Properties |
---|
getProperty, getProperty, list, list, load, load, loadFromXML, propertyNames, save, setProperty, store, store, storeToXML, storeToXML, stringPropertyNames |
Methods inherited from class java.util.Hashtable |
---|
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, rehash, remove, size, toString, values |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public static java.io.File getConfigFile(java.lang.String configFileKey)
configFileKey
-
public static java.util.Properties getPropertiesFromConfigFile(java.lang.String configFileKey)
configFileKey
-
public static java.lang.String getPropertyFromConfigFile(java.lang.String propertyName, java.lang.String configFileKey)
propertyName
- configFileKey
-
|
Copyright 2006 Stanford University | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |