yawda.utils.resource
Class CXmlMessageResourceBundle

java.lang.Object
  extended byyawda.utils.resource.CXmlMessageResourceBundle

public class CXmlMessageResourceBundle
extends Object

Author:
Quentin Anciaux

Field Summary
protected  String baseName
           
static String CONFIG
           
protected  long lastModified
           
protected  Locale loc
           
 
Method Summary
 String getBaseName()
           
static CXmlMessageResourceBundle getBundle(Locale loc)
           
static CXmlMessageResourceBundle getBundle(String baseName, Locale loc)
           
 Iterator getKeys()
           
 Locale getLocale()
           
 String getMessage(String key)
           
 String getMessage(String key, Object[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONFIG

public static final String CONFIG
See Also:
Constant Field Values

loc

protected Locale loc

baseName

protected String baseName

lastModified

protected long lastModified
Method Detail

getBundle

public static final CXmlMessageResourceBundle getBundle(Locale loc)
                                                 throws MissingResourceException
Throws:
MissingResourceException

getBundle

public static final CXmlMessageResourceBundle getBundle(String baseName,
                                                        Locale loc)
                                                 throws MissingResourceException
Throws:
MissingResourceException

getBaseName

public final String getBaseName()

getMessage

public final String getMessage(String key,
                               Object[] args)

getMessage

public final String getMessage(String key)

getKeys

public final Iterator getKeys()
See Also:
ResourceBundle.getKeys()

getLocale

public final Locale getLocale()
See Also:
ResourceBundle.getLocale()