    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

##

Prefs()
Prefs(int)

##

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

##

Prefs

     public Prefs(int capacity)

Prefs

     public Prefs()

##

setUserDirectory

     public void setUserDirectory(String dir)

getUserDirectory

     public String getUserDirectory()

checkDirectory

     public void checkDirectory(String name)

checkUserDirectory

     public void checkUserDirectory()

getUserFile

     public String getUserFile(String file)

exists

     public boolean exists(Object key)

put

     public synchronized Object put(Object key,
                                    Object value)

  Overrides:
    put in class Hashtable

setOverride

     public void setOverride(boolean o)

getOverride

     public boolean getOverride()

putString

     public void putString(String key,
                           String value)

putBoolean

     public void putBoolean(String key,
                            boolean value)

putInteger

     public void putInteger(String key,
                            int value)

getString

     public String getString(String key)

getBoolean

     public boolean getBoolean(String key)

getInteger

     public int getInteger(String key)

putColor

     public void putColor(String key,
                          Color c)

getColor

     public Color getColor(String key)

getFont

     public Font getFont(String key)

extract

     public Prefs extract(String clazz)

merge

     public void merge(Prefs prefs)

getStringList

     public String[] getStringList(String key)

putStringList

     public void putStringList(String key,
                               String list[])

sortedKeys

     public synchronized Enumeration sortedKeys()

    All Packages  Class Hierarchy  This Package  Previous  Next  Index