public class MappingProperties extends Properties
| Modifier and Type | Field and Description |
|---|---|
static MappingProperties |
std |
defaults| Constructor and Description |
|---|
MappingProperties(String fileName) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getBool(String key) |
Double |
getDbl(String key) |
int |
getInt(String key) |
String |
getStr(String key) |
void |
load(String fileName) |
void |
set(String key,
boolean value) |
void |
set(String key,
double value) |
void |
set(String key,
int value) |
void |
set(String key,
String value) |
void |
store(String fileName) |
getProperty, getProperty, list, list, load, load, loadFromXML, propertyNames, save, setProperty, store, store, storeToXML, storeToXML, stringPropertyNamespublic static final MappingProperties std
public MappingProperties(String fileName)
public int getInt(String key)
public boolean getBool(String key)
public void load(String fileName) throws IOException
IOExceptionpublic void set(String key, double value)
public void set(String key, int value)
public void set(String key, boolean value)
public void store(String fileName) throws IOException
IOExceptionCopyright © 2014 Institute for Pervasive Computing, ETH Zurich. All rights reserved.