public class Configuration extends Object
| Modifier and Type | Method and Description |
|---|---|
static Configuration |
getInstance() |
String |
getProperty(String name) |
String |
getProperty(String name,
String defaultValue) |
boolean |
getPropertyAsBoolean(String name) |
Integer |
getPropertyAsInteger(String name) |
Integer |
getPropertyAsInteger(String name,
Integer defaultValue) |
String |
getPropertyWithDefault(String name,
String defaultValue) |
Properties |
getUnderlyingPropertyObject() |
boolean |
hasProperty(String key) |
static void |
initSingleton(File f) |
public static void initSingleton(File f)
public static Configuration getInstance()
public boolean hasProperty(String key)
public Integer getPropertyAsInteger(String name) throws Exception
Exceptionpublic boolean getPropertyAsBoolean(String name) throws Exception
Exceptionpublic Properties getUnderlyingPropertyObject()
Copyright © 2019. All rights reserved.