com.bankframe.ei.txnhandler.connector
Class PropertiesHelper

java.lang.Object
  extended by com.bankframe.ei.txnhandler.connector.PropertiesHelper

public class PropertiesHelper
extends Object


Constructor Summary
PropertiesHelper()
           
 
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.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertiesHelper

public PropertiesHelper()
Method Detail

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.