de.danielnaber.languagetool.gui
Class Configuration
Object
Configuration
public class Configuration
- extends Object
Configuration -- currently this is just a list of disabled rule IDs.
Configuration is loaded from and stored to a properties file.
- Author:
- Daniel Naber
| Methods inherited from class Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Configuration
public Configuration(File baseDir,
String filename)
throws IOException
- Throws:
IOException
Configuration
public Configuration(File baseDir)
throws IOException
- Throws:
IOException
getDisabledRuleIds
public Set<String> getDisabledRuleIds()
getEnabledRuleIds
public Set<String> getEnabledRuleIds()
getDisabledCategoryNames
public Set<String> getDisabledCategoryNames()
setDisabledRuleIds
public void setDisabledRuleIds(Set<String> ruleIDs)
setEnabledRuleIds
public void setEnabledRuleIds(Set<String> ruleIDs)
setDisabledCategoryNames
public void setDisabledCategoryNames(Set<String> categoryNames)
getMotherTongue
public Language getMotherTongue()
setMotherTongue
public void setMotherTongue(Language motherTongue)
getRunServer
public boolean getRunServer()
setRunServer
public void setRunServer(boolean runServer)
getServerPort
public int getServerPort()
setServerPort
public void setServerPort(int serverPort)
saveConfiguration
public void saveConfiguration()
throws IOException
- Throws:
IOException
Copyright © 2005-2007 Daniel Naber