All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class org.doit.muffin.Prefs

java.lang.Object
   |
   +----java.util.Dictionary
           |
           +----java.util.Hashtable
                   |
                   +----org.doit.muffin.Prefs

public class Prefs
extends Hashtable
Author:
Mark Boyns

Constructor Index

 o Prefs()
 o Prefs(int)

Method Index

 o checkDirectory(String)
 o checkUserDirectory()
 o exists(Object)
 o extract(String)
 o getBoolean(String)
 o getColor(String)
 o getFont(String)
 o getInteger(String)
 o getOverride()
 o getString(String)
 o getStringList(String)
 o getUserDirectory()
 o getUserFile(String)
 o merge(Prefs)
 o put(Object, Object)
 o putBoolean(String, boolean)
 o putColor(String, Color)
 o putInteger(String, int)
 o putString(String, String)
 o putStringList(String, String[])
 o setOverride(boolean)
 o setUserDirectory(String)
 o sortedKeys()

Constructors

 o Prefs
 public Prefs(int capacity)
 o Prefs
 public Prefs()

Methods

 o setUserDirectory
 public void setUserDirectory(String dir)
 o getUserDirectory
 public String getUserDirectory()
 o checkDirectory
 public void checkDirectory(String name)
 o checkUserDirectory
 public void checkUserDirectory()
 o getUserFile
 public String getUserFile(String file)
 o exists
 public boolean exists(Object key)
 o put
 public synchronized Object put(Object key,
                                Object value)
Overrides:
put in class Hashtable
 o setOverride
 public void setOverride(boolean o)
 o getOverride
 public boolean getOverride()
 o putString
 public void putString(String key,
                       String value)
 o putBoolean
 public void putBoolean(String key,
                        boolean value)
 o putInteger
 public void putInteger(String key,
                        int value)
 o getString
 public String getString(String key)
 o getBoolean
 public boolean getBoolean(String key)
 o getInteger
 public int getInteger(String key)
 o putColor
 public void putColor(String key,
                      Color c)
 o getColor
 public Color getColor(String key)
 o getFont
 public Font getFont(String key)
 o extract
 public Prefs extract(String clazz)
 o merge
 public void merge(Prefs prefs)
 o getStringList
 public String[] getStringList(String key)
 o putStringList
 public void putStringList(String key,
                           String list[])
 o sortedKeys
 public synchronized Enumeration sortedKeys()

All Packages  Class Hierarchy  This Package  Previous  Next  Index