org.xmlecho.palomar.broker
Class ConfigProps

java.lang.Object
  extended byorg.xmlecho.palomar.broker.ConfigProps

public class ConfigProps
extends java.lang.Object


Constructor Summary
ConfigProps()
           
 
Method Summary
static Files getFiles()
           
static java.util.Properties getProperties()
           
static java.lang.String getProperty(java.lang.String key)
           
static java.lang.String getProperty(java.lang.String key, java.lang.String defaultValue)
           
static java.net.URL getResource(java.lang.String filename, java.net.URL baseURL)
           
static void load(java.io.InputStream inStream)
           
static java.net.URL propsBaseURL()
           
static void setProperty(java.lang.String key, java.lang.String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigProps

public ConfigProps()
Method Detail

propsBaseURL

public static java.net.URL propsBaseURL()
Returns:
the URL from which we read the base config properties

getProperty

public static java.lang.String getProperty(java.lang.String key)

getProperty

public static java.lang.String getProperty(java.lang.String key,
                                           java.lang.String defaultValue)

setProperty

public static void setProperty(java.lang.String key,
                               java.lang.String value)

load

public static void load(java.io.InputStream inStream)
                 throws java.io.IOException
Throws:
java.io.IOException

getProperties

public static java.util.Properties getProperties()

getFiles

public static Files getFiles()

getResource

public static java.net.URL getResource(java.lang.String filename,
                                       java.net.URL baseURL)