Log4j 0.9d

pl.psnc.expres.wfm.util.i18n.helper
Class BundleFactory

java.lang.Object
  extended by pl.psnc.expres.wfm.util.i18n.helper.BundleFactory

public abstract class BundleFactory
extends Object

BundleFactory class - Factory class for the properties retrieval. The GUI factory deals with all the properties from GUI forms

Author:
Dominik Stoklosa (~osa~)

Constructor Summary
BundleFactory()
           
 
Method Summary
static String getGuiValue(String key)
          Get the value for the given key for corresponding resource bundle: see BundleFactory.BUNDLE_GUI
static String getGuiValue(String key, String... values)
          Get the formatted value for the given key for corresponding resource bundle: see BundleFactory.BUNDLE_MESSAGES
static String getMessageValue(String key)
          Get the value for the given key for corresponding resource bundle: see BundleFactory.BUNDLE_MESSAGES
static String getMessageValue(String key, String... values)
          Get the formatted value for the given key for corresponding resource bundle: see BundleFactory.BUNDLE_MESSAGES
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BundleFactory

public BundleFactory()
Method Detail

getGuiValue

public static String getGuiValue(String key)
Get the value for the given key for corresponding resource bundle: see BundleFactory.BUNDLE_GUI

Parameters:
key - key for the desired string
Returns:
value of the given key

getGuiValue

public static String getGuiValue(String key,
                                 String... values)
Get the formatted value for the given key for corresponding resource bundle: see BundleFactory.BUNDLE_MESSAGES

Parameters:
key - key for the desired string
values - list of values for the formated key
Returns:
value of the given key

getMessageValue

public static String getMessageValue(String key)
Get the value for the given key for corresponding resource bundle: see BundleFactory.BUNDLE_MESSAGES

Parameters:
key - key for the desired string
Returns:
value of the given key

getMessageValue

public static String getMessageValue(String key,
                                     String... values)
Get the formatted value for the given key for corresponding resource bundle: see BundleFactory.BUNDLE_MESSAGES

Parameters:
key - key for the desired string
values - list of values for the formated key
Returns:
value of the given key

Log4j 0.9d

Copyright 2003 by VLAB Dominik Stoklosa.