|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.magicproject.tools.Configuration
public final class Configuration
| Method Summary | |
|---|---|
static void |
addRecentProperty(java.lang.String property,
java.lang.String pItem)
Add a property to the list. |
static java.lang.String[] |
getArray(java.lang.String property)
|
static java.lang.Boolean |
getBoolean(java.lang.String property)
|
static java.lang.Boolean |
getBoolean(java.lang.String property,
java.lang.Boolean defaultValue)
|
static org.apache.commons.configuration.XMLConfiguration |
getConfiguration()
Return the configuration node. |
static float |
getFloat(java.lang.String property,
java.lang.Float defaultValue)
|
static java.lang.Integer |
getInt(java.lang.String property)
|
static java.lang.Integer |
getInt(java.lang.String property,
java.lang.Integer defaultValue)
|
static java.lang.String |
getString(java.lang.String property)
|
static java.lang.String |
getString(java.lang.String property,
java.lang.String defaultValue)
|
static java.io.File |
loadTemplateFile(java.lang.String userFile)
Load the given userFile file. |
static java.io.File |
loadTemplateTbsFile(java.lang.String userFile)
Load the given userFile file. |
static void |
setProperty(java.lang.String property,
java.lang.Object value)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static java.lang.String getString(java.lang.String property)
property -
public static java.lang.String[] getArray(java.lang.String property)
property -
public static void addRecentProperty(java.lang.String property,
java.lang.String pItem)
property - pItem -
public static java.lang.String getString(java.lang.String property,
java.lang.String defaultValue)
property - defaultValue -
public static java.lang.Boolean getBoolean(java.lang.String property,
java.lang.Boolean defaultValue)
property - defaultValue -
public static java.lang.Boolean getBoolean(java.lang.String property)
property -
public static java.lang.Integer getInt(java.lang.String property,
java.lang.Integer defaultValue)
property - defaultValue -
public static java.lang.Integer getInt(java.lang.String property)
property -
public static void setProperty(java.lang.String property,
java.lang.Object value)
property - value -
public static float getFloat(java.lang.String property,
java.lang.Float defaultValue)
property - defaultValue -
public static org.apache.commons.configuration.XMLConfiguration getConfiguration()
public static java.io.File loadTemplateFile(java.lang.String userFile)
userFile - the configuration file.
public static java.io.File loadTemplateTbsFile(java.lang.String userFile)
userFile - the configuration file.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||