com.opensymphony.module.propertyset.file
Class PropertiesFilePropertySet

java.lang.Object
  extended bycom.opensymphony.module.propertyset.AbstractPropertySet
      extended bycom.opensymphony.module.propertyset.memory.MemoryPropertySet
          extended bycom.opensymphony.module.propertyset.file.PropertiesFilePropertySet
All Implemented Interfaces:
PropertySet

public class PropertiesFilePropertySet
extends MemoryPropertySet

Date: Mar 21, 2004 Time: 4:50:09 PM

Author:
hani

Nested Class Summary
 
Nested classes inherited from class com.opensymphony.module.propertyset.memory.MemoryPropertySet
MemoryPropertySet.ValueEntry
 
Field Summary
protected static org.apache.commons.logging.Log log
           
 
Fields inherited from class com.opensymphony.module.propertyset.AbstractPropertySet
schema
 
Fields inherited from interface com.opensymphony.module.propertyset.PropertySet
BOOLEAN, DATA, DATE, DOUBLE, INT, LONG, OBJECT, PROPERTIES, STRING, TEXT, XML
 
Constructor Summary
PropertiesFilePropertySet()
           
 
Method Summary
 void flush()
           
 void init(java.util.Map config, java.util.Map args)
           
 void load()
           
 
Methods inherited from class com.opensymphony.module.propertyset.memory.MemoryPropertySet
exists, get, getKeys, getMap, getType, remove, remove, setImpl
 
Methods inherited from class com.opensymphony.module.propertyset.AbstractPropertySet
getAsActualType, getBoolean, getData, getDate, getDouble, getInt, getKeys, getKeys, getKeys, getLong, getObject, getProperties, getSchema, getString, getText, getXML, isSettable, setAsActualType, setBoolean, setData, setDate, setDouble, setInt, setLong, setObject, setProperties, setSchema, setString, setText, setXML, supportsType, supportsTypes, toString, type, type
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

log

protected static org.apache.commons.logging.Log log
Constructor Detail

PropertiesFilePropertySet

public PropertiesFilePropertySet()
Method Detail

flush

public void flush()
           throws java.io.IOException
Throws:
java.io.IOException

init

public void init(java.util.Map config,
                 java.util.Map args)
Specified by:
init in interface PropertySet
Overrides:
init in class MemoryPropertySet

load

public void load()
          throws java.io.IOException,
                 java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

See www.opensymphony.com for more information.

Copyright 2000-2005 - OpenSymphony