util.settings
Class PropertyManager
java.lang.Object
util.settings.PropertyManager
public class PropertyManager
- extends Object
- Author:
- Til Schneider, www.murfman.de
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PropertyManager
public PropertyManager()
writeToFile
public void writeToFile(File settingsFile)
throws IOException
- Throws:
IOException
readFromFile
public void readFromFile(File settingsFile)
throws IOException
- Throws:
IOException
addProperty
void addProperty(Property prop)
setProperty
void setProperty(String key,
String value)
getProperty
public String getProperty(String key)
- Gets the property with the given key.
- Parameters:
key - The key to get the property for.
- Returns:
- The property for the key or
null
if the key didn't exists.
hasChanged
public boolean hasChanged(Property prop)
hasChanged
public boolean hasChanged(Property[] propArr)
clearChanges
public void clearChanges()
TV-Browser 2.7.5, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)