com.bankframe.ei.txnhandler.connector
Class PropertiesHelper
java.lang.Object
com.bankframe.ei.txnhandler.connector.PropertiesHelper
public class PropertiesHelper
- extends Object
Method Summary |
static Integer |
getIntegerProperty(Properties properties,
String key,
int defaultValue,
String errorMsg)
|
static Integer |
getIntegerProperty(Properties properties,
String key,
String errorMsg)
|
static String |
getStringProperty(Properties properties,
String key,
String errorMsg)
|
static String |
getStringProperty(Properties properties,
String key,
String defaultValue,
String errorMsg)
|
static Properties |
parseProperties(String properties)
This method will parse a semi-colon delimited String into a Properties object. |
PropertiesHelper
public PropertiesHelper()
parseProperties
public static Properties parseProperties(String properties)
- This method will parse a semi-colon delimited String into a Properties object.
- Parameters:
properties
- A semi-colon delimited String of property values.
- Returns:
- A Properties object representing the String value passed in.
getStringProperty
public static String getStringProperty(Properties properties,
String key,
String defaultValue,
String errorMsg)
getStringProperty
public static String getStringProperty(Properties properties,
String key,
String errorMsg)
getIntegerProperty
public static Integer getIntegerProperty(Properties properties,
String key,
int defaultValue,
String errorMsg)
getIntegerProperty
public static Integer getIntegerProperty(Properties properties,
String key,
String errorMsg)
Copyright © 2005, 2007, Oracle. All rights reserved.