com.swabunga.spell.engine
Class PropertyConfiguration

java.lang.Object
  |
  +--com.swabunga.spell.engine.Configuration
        |
        +--com.swabunga.spell.engine.PropertyConfiguration

public class PropertyConfiguration
extends Configuration

Author:
aim4min To change this generated comment edit the template variable "typecomment": Window>Preferences>Java>Templates. To enable and disable the creation of type comments go to Window>Preferences>Java>Code Generation.

Field Summary
 java.net.URL filename
           
 java.util.Properties prop
           
 
Fields inherited from class com.swabunga.spell.engine.Configuration
COST_CHANGE_CASE, COST_INSERT_CHAR, COST_REMOVE_CHAR, COST_SUBST_CHARS, COST_SWAP_CHARS, SPELL_IGNOREDIGITWORDS, SPELL_IGNOREINTERNETADDRESSES, SPELL_IGNOREMIXEDCASE, SPELL_IGNOREMULTIPLEWORDS, SPELL_IGNORESENTENCECAPITALIZATION, SPELL_IGNOREUPPERCASE, SPELL_THRESHOLD
 
Constructor Summary
PropertyConfiguration()
           
 
Method Summary
 boolean getBoolean(java.lang.String key)
          Gets one of the boolean constants
 int getInteger(java.lang.String key)
          Gets one of the integer constants
 void save()
           
 void setBoolean(java.lang.String key, boolean value)
          Sets one of the boolean constants
 void setInteger(java.lang.String key, int value)
          Sets one of the integer constants
 
Methods inherited from class com.swabunga.spell.engine.Configuration
getConfiguration, getConfiguration
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

prop

public java.util.Properties prop

filename

public java.net.URL filename
Constructor Detail

PropertyConfiguration

public PropertyConfiguration()
Method Detail

getBoolean

public boolean getBoolean(java.lang.String key)
Description copied from class: Configuration
Gets one of the boolean constants
Overrides:
getBoolean in class Configuration
See Also:
Configuration.getBoolean(String)

getInteger

public int getInteger(java.lang.String key)
Description copied from class: Configuration
Gets one of the integer constants
Overrides:
getInteger in class Configuration
See Also:
Configuration.getInteger(String)

setBoolean

public void setBoolean(java.lang.String key,
                       boolean value)
Description copied from class: Configuration
Sets one of the boolean constants
Overrides:
setBoolean in class Configuration
See Also:
Configuration.setBoolean(String, boolean)

setInteger

public void setInteger(java.lang.String key,
                       int value)
Description copied from class: Configuration
Sets one of the integer constants
Overrides:
setInteger in class Configuration
See Also:
Configuration.setInteger(String, int)

save

public void save()