TV-Browser 2.7.5 API

util.settings
Class PropertyManager

java.lang.Object
  extended by util.settings.PropertyManager

public class PropertyManager
extends Object

Author:
Til Schneider, www.murfman.de

Constructor Summary
PropertyManager()
           
 
Method Summary
(package private)  void addProperty(Property prop)
           
 void clearChanges()
           
 String getProperty(String key)
          Gets the property with the given key.
 boolean hasChanged(Property prop)
           
 boolean hasChanged(Property[] propArr)
           
 void readFromFile(File settingsFile)
           
(package private)  void setProperty(String key, String value)
           
 void writeToFile(File settingsFile)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyManager

public PropertyManager()
Method Detail

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 API

TV-Browser 2.7.5, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)