public class PropertiesConfiguration extends LocalConfiguration
java.util.Properties.| Modifier and Type | Field and Description |
|---|---|
protected File |
path |
protected Properties |
properties |
allowedDataCycleBlocks, allowSymlinks, butcherDefaultRadius, butcherMaxRadius, defaultChangeLimit, defaultDisallowedBlocks, defaultMaxPolygonalPoints, defaultMaxPolyhedronPoints, disallowedBlocks, logCommands, logFile, maxBrushRadius, maxChangeLimit, maxPolygonalPoints, maxPolyhedronPoints, maxRadius, maxSuperPickaxeSize, navigationUseGlass, navigationWand, navigationWandMaxDistance, noDoubleSlash, profile, registerHelp, saveDir, scriptsDir, scriptTimeout, shellSaveType, showFirstUseVersion, snapshotRepo, superPickaxeDrop, superPickaxeManyDrop, useInventory, useInventoryCreativeOverride, useInventoryOverride, wandItem| Constructor and Description |
|---|
PropertiesConfiguration(File path)
Construct the object.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
getBool(String key,
boolean def)
Get a boolean value.
|
protected double |
getDouble(String key,
double def)
Get a double value.
|
protected int |
getInt(String key,
int def)
Get an integer value.
|
protected Set<Integer> |
getIntSet(String key,
int[] def)
Get a double value.
|
protected String |
getString(String key,
String def)
Get a string value.
|
void |
load()
Load the configuration file.
|
getWorkingDirectoryprotected Properties properties
protected File path
public PropertiesConfiguration(File path)
path - public void load()
load in class LocalConfigurationprotected String getString(String key, String def)
key - def - protected boolean getBool(String key, boolean def)
key - def - protected int getInt(String key, int def)
key - def - protected double getDouble(String key, double def)
key - def - Copyright © 2010-2014. All Rights Reserved.