com.bankframe.services.resource
Class BankFrameMCAResource

java.lang.Object
  extended by com.bankframe.services.resource.BankFrameMCAResource

public class BankFrameMCAResource
extends Object

This class provides utility methods to read from the standard BankFrame MCA configuration file. This class replaces the com.bankframe.BankframeResource class.


Method Summary
static Boolean getBoolean(String keyName)
          This method gets the value of the specified property.
static Double getDouble(String keyName)
           
static Integer getInteger(String keyName)
          This method gets the value of the specified property.
static Enumeration getKeys()
          This method gets the keys in the property file.
static Long getLong(String keyName)
          This method gets the value of the specified property as a Long object.
static String getString(String key)
          This method gets the value of the specified property.
static BankFrameResource getSubset(String prefix)
          This method gets the a specified subset.
static void main(String[] args)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getString

public static String getString(String key)
This method gets the value of the specified property.

Parameters:
key - The key to be read from the property file
Returns:
the value of the specifed property or null if a value does not exist

getKeys

public static Enumeration getKeys()
This method gets the keys in the property file.

Returns:
an ennumeration of all the keys in the property file

getSubset

public static BankFrameResource getSubset(String prefix)
This method gets the a specified subset.

Parameters:
prefix - the subset prefix
Returns:
a BankFrameResource object containing the subset

getLong

public static Long getLong(String keyName)
This method gets the value of the specified property as a Long object.

Parameters:
keyName - The key to be read from the property file
Returns:
the value of the specifed property or null if a value does not exist

getInteger

public static Integer getInteger(String keyName)
This method gets the value of the specified property.

Parameters:
keyName - The key to be read from the property file
Returns:
the value of the specifed property or null if a value does not exist

getBoolean

public static Boolean getBoolean(String keyName)
This method gets the value of the specified property.

Parameters:
keyName - The key to be read from the property file
Returns:
the value of the specifed property or null if a value does not exist

getDouble

public static Double getDouble(String keyName)

main

public static void main(String[] args)


Copyright © 2005, 2007, Oracle. All rights reserved.