public class RippleProperties extends Properties
defaults| Constructor and Description |
|---|
RippleProperties() |
RippleProperties(Properties defaults) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getBoolean(String name) |
boolean |
getBoolean(String name,
boolean defaultValue) |
Date |
getDate(String name) |
Date |
getDate(String name,
Date defaultValue) |
double |
getDouble(String name) |
double |
getDouble(String name,
double defaultValue) |
File |
getFile(String name) |
File |
getFile(String name,
File defaultValue) |
float |
getFloat(String name) |
float |
getFloat(String name,
float defaultValue) |
int |
getInt(String name) |
int |
getInt(String name,
int defaultValue) |
long |
getLong(String name) |
long |
getLong(String name,
long defaultValue) |
String |
getString(String name) |
String |
getString(String name,
String defaultValue) |
URI |
getURI(String name) |
URI |
getURI(String name,
URI defaultValue) |
URL |
getURL(String name) |
URL |
getURL(String name,
URL defaultValue) |
void |
setBoolean(String name,
boolean value) |
void |
setDate(String name,
Date value) |
void |
setDouble(String name,
double value) |
void |
setFile(String name,
File value) |
void |
setFloat(String name,
float value) |
void |
setInt(String name,
int value) |
void |
setLong(String name,
long value) |
void |
setString(String name,
String value) |
void |
setURI(String name,
URI value) |
void |
setURL(String name,
URL value) |
getProperty, getProperty, list, list, load, load, loadFromXML, propertyNames, save, setProperty, store, store, storeToXML, storeToXML, stringPropertyNamespublic RippleProperties(Properties defaults)
public RippleProperties()
public String getString(String name) throws RippleException
RippleExceptionpublic String getString(String name, String defaultValue) throws RippleException
RippleExceptionpublic boolean getBoolean(String name) throws RippleException
RippleExceptionpublic boolean getBoolean(String name, boolean defaultValue) throws RippleException
RippleExceptionpublic void setBoolean(String name, boolean value)
public double getDouble(String name) throws RippleException
RippleExceptionpublic double getDouble(String name, double defaultValue) throws RippleException
RippleExceptionpublic void setDouble(String name, double value)
public float getFloat(String name) throws RippleException
RippleExceptionpublic float getFloat(String name, float defaultValue) throws RippleException
RippleExceptionpublic void setFloat(String name, float value)
public int getInt(String name) throws RippleException
RippleExceptionpublic int getInt(String name, int defaultValue) throws RippleException
RippleExceptionpublic void setInt(String name, int value)
public long getLong(String name) throws RippleException
RippleExceptionpublic long getLong(String name, long defaultValue) throws RippleException
RippleExceptionpublic void setLong(String name, long value)
public URI getURI(String name) throws RippleException
RippleExceptionpublic URI getURI(String name, URI defaultValue) throws RippleException
RippleExceptionpublic URL getURL(String name) throws RippleException
RippleExceptionpublic URL getURL(String name, URL defaultValue) throws RippleException
RippleExceptionpublic File getFile(String name) throws RippleException
RippleExceptionpublic File getFile(String name, File defaultValue) throws RippleException
RippleExceptionpublic Date getDate(String name) throws RippleException
RippleExceptionpublic Date getDate(String name, Date defaultValue) throws RippleException
RippleExceptionCopyright © 2007-2012 fortytwo.net. All Rights Reserved.