All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class semper.payment.PaymentResources

java.lang.Object
   |
   +----semper.payment.PaymentResources

public class PaymentResources
extends Object
Support localisation With JDK-1.1, this class will be a subclass of ListResourceBundle To localise, create a subclass of this class with "_xx" appended to the name, where "xx" is the standard (defined where? ISO?) language (e.g. "PaymentResources_de"); The subclass should override the "contents" array and simply copy the "getContents()" method implementation.

Version:
$Revision: 1.15 $ $Date: 1998/08/04 11:51:50 $
Author:
N. Asokan (aso@zurich.ibm.com)

Constructor Index

 o PaymentResources()

Method Index

 o getContents()
Return the list of resources; a subclass should simply reproduce this method
 o getString(String)
Get the local language form of the string corresponding to the given key.

Constructors

 o PaymentResources
 public PaymentResources()

Methods

 o getContents
 public String[][] getContents()
Return the list of resources; a subclass should simply reproduce this method

Returns:
a two dimensional array containing a translation table.
 o getString
 public final String getString(String key)
Get the local language form of the string corresponding to the given key.

Parameters:
key - String containing the key
Returns:
String in local language

All Packages  Class Hierarchy  This Package  Previous  Next  Index