de.phleisch.app.itsucks.configuration.impl
Class PropertyFileConfigurationImpl
java.lang.Object
de.phleisch.app.itsucks.configuration.impl.PropertyFileConfigurationImpl
- All Implemented Interfaces:
- ApplicationConfiguration
public class PropertyFileConfigurationImpl
- extends java.lang.Object
- implements ApplicationConfiguration
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
mConfiguration
protected java.util.Properties mConfiguration
mSaveConfigurationPath
protected java.lang.String mSaveConfigurationPath
mDefaultConfigurationPath
protected java.lang.String mDefaultConfigurationPath
mComment
protected java.lang.String mComment
PropertyFileConfigurationImpl
public PropertyFileConfigurationImpl()
getValue
public java.lang.String getValue(java.lang.String pName)
- Specified by:
getValue in interface ApplicationConfiguration
getValue
public java.lang.String getValue(java.lang.String pName,
java.lang.String pDefaultValue)
- Specified by:
getValue in interface ApplicationConfiguration
setValue
public void setValue(java.lang.String pName,
java.lang.String pValue)
- Specified by:
setValue in interface ApplicationConfiguration
load
protected void load()
save
public void save()
- Specified by:
save in interface ApplicationConfiguration
findDefaultConfiguration
protected java.io.InputStream findDefaultConfiguration()
throws java.io.IOException,
java.io.FileNotFoundException
- Throws:
java.io.IOException
java.io.FileNotFoundException
findConfiguration
protected java.io.InputStream findConfiguration()
throws java.io.IOException,
java.io.FileNotFoundException
- Throws:
java.io.IOException
java.io.FileNotFoundException
getSaveConfigurationPath
public java.lang.String getSaveConfigurationPath()
setSaveConfigurationPath
public void setSaveConfigurationPath(java.lang.String pSaveConfigurationPath)
getDefaultConfigurationPath
public java.lang.String getDefaultConfigurationPath()
setDefaultConfigurationPath
public void setDefaultConfigurationPath(java.lang.String pDefaultConfigurationPath)
getComment
public java.lang.String getComment()
setComment
public void setComment(java.lang.String pComment)
Copyright © 2010. All Rights Reserved.