public class MorphPropertyFileUtils extends Object
Modifier and Type | Field and Description |
---|---|
static String |
MORPH_STRING_PROPERTIES
property file resource name
|
Constructor and Description |
---|
MorphPropertyFileUtils() |
Modifier and Type | Method and Description |
---|---|
static Properties |
retrieveProperties()
retrieve a property from the properties file
|
static Properties |
retrievePropertiesFromFile(String filePath)
retrieve a property from the properties file
|
static boolean |
retrievePropertyBoolean(String key,
boolean defaultValue)
retrieve a property, it must exist in the properties file
|
static String |
retrievePropertyString(String key)
retrieve a property, it must exist in the properties file
|
public static final String MORPH_STRING_PROPERTIES
public static boolean retrievePropertyBoolean(String key, boolean defaultValue)
key
- defaultValue
- public static String retrievePropertyString(String key)
key
- public static Properties retrieveProperties()
public static Properties retrievePropertiesFromFile(String filePath)
filePath
- Copyright © 2016 Internet2. All rights reserved.