|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.Dictionary<K,V>
java.util.Hashtable<java.lang.Object,java.lang.Object>
java.util.Properties
me.mjolnir.mineconomy.loaders.PluginProperties
public class PluginProperties
Handles read/write for the properties file.
| Constructor Summary | |
|---|---|
PluginProperties(java.lang.String file)
Creates new PluginProperties object. |
|
| Method Summary | |
|---|---|
boolean |
getBoolean(java.lang.String key,
boolean b)
Retrieves the specified boolean from the file. |
double |
getDouble(java.lang.String key,
double value)
Retrieves the specified double from the file. |
int |
getInteger(java.lang.String key,
int value)
Retrieves the specified integer from the file. |
java.lang.String |
getString(java.lang.String key,
java.lang.String value)
Retrieves the specified string from the file. |
java.util.Enumeration |
keys()
|
void |
load()
Loads the MineConomy properties. |
void |
save(java.lang.String start)
Saves to the MineConomy properties. |
| Methods inherited from class java.util.Properties |
|---|
getProperty, getProperty, list, list, load, loadFromXML, propertyNames, save, setProperty, store, storeToXML, storeToXML |
| Methods inherited from class java.util.Hashtable |
|---|
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, toString, values |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PluginProperties(java.lang.String file)
file - | Method Detail |
|---|
public java.util.Enumeration keys()
keys in class java.util.Hashtable<java.lang.Object,java.lang.Object>public void load()
public void save(java.lang.String start)
start -
public double getDouble(java.lang.String key,
double value)
key - value -
public int getInteger(java.lang.String key,
int value)
key - value -
public java.lang.String getString(java.lang.String key,
java.lang.String value)
key - value -
public boolean getBoolean(java.lang.String key,
boolean b)
key - b -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||