com.bankframe.services.resource
Class BankFrameMCAResource

java.lang.Object
  extended bycom.bankframe.services.resource.BankFrameMCAResource

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

Method Detail

getString

public static java.lang.String getString(java.lang.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 java.util.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(java.lang.String prefix)
This method gets the a specified subset.

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

getLong

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

Returns:
the value of the specifed property or null if a value does not exist

getInteger

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

Returns:
the value of the specifed property or null if a value does not exist

getBoolean

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

Returns:
the value of the specifed property or null if a value does not exist

getDouble

public static java.lang.Double getDouble(java.lang.String keyName)

main

public static void main(java.lang.String[] args)


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