|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.tensegrity.generic.util.prefs.PreferenceFactory
A factory class to create Preferences instances.
| Method Summary | |
static Preferences |
createPreferences(java.lang.String defaultFileName,
java.lang.Class resourceClass,
java.lang.String writeOutName)
Constructor specifying a default file name, a resource class used to load this file and a write out name for the file holding the preferences. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static Preferences createPreferences(java.lang.String defaultFileName,
java.lang.Class resourceClass,
java.lang.String writeOutName)
throws ReadException
defaultFileName - the name of the default preference file.resourceClass - a class relative to the default file.writeOutName - the name that will be used when the preferences got
written out. They can be found under the given name in directory
{user.home}
ReadException - if the default file can not be read.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||