info.rolandkrueger.roklib.plugins
Class AbstractPlugin

java.lang.Object
  extended by info.rolandkrueger.roklib.plugins.AbstractPlugin

public abstract class AbstractPlugin
extends Object

Author:
Roland Krueger

Field Summary
private  Properties mProperties
           
 
Constructor Summary
AbstractPlugin()
           
 
Method Summary
 Properties getProperties()
           
 String getProperty(String key)
           
 String getProperty(String key, String defaultValue)
           
 void loadProperties(InputStream inStream)
           
 void loadProperties(Reader reader)
           
 void loadPropertiesFromXML(InputStream in)
           
 void putAllProperties(Map<? extends Object,? extends Object> t)
           
 Object putProperty(Object key, Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mProperties

private Properties mProperties
Constructor Detail

AbstractPlugin

public AbstractPlugin()
Method Detail

getProperty

public String getProperty(String key,
                          String defaultValue)

getProperty

public String getProperty(String key)

getProperties

public Properties getProperties()

loadProperties

public void loadProperties(InputStream inStream)
                    throws IOException
Throws:
IOException

loadProperties

public void loadProperties(Reader reader)
                    throws IOException
Throws:
IOException

loadPropertiesFromXML

public void loadPropertiesFromXML(InputStream in)
                           throws IOException,
                                  InvalidPropertiesFormatException
Throws:
IOException
InvalidPropertiesFormatException

putProperty

public Object putProperty(Object key,
                          Object value)

putAllProperties

public void putAllProperties(Map<? extends Object,? extends Object> t)


Copyright © 2007-2011. All Rights Reserved.