com.sun.xml.registry.ebxml.util
Class I18nUtil

java.lang.Object
  extended bycom.sun.xml.registry.ebxml.util.I18nUtil

public class I18nUtil
extends java.lang.Object

Internationalization utilities This class expects to obtain messages from a ResourceBundle in a subpackage of this package called "resources" with a baseName of "Messages". Typically, this is done using Java property files loaded via PropertyResourceBundle.

Author:
Edwin Goei

Method Summary
static I18nUtil getInstance()
           
 java.lang.String getMessage(java.lang.String key)
           
 java.lang.String getMessage(java.lang.String key, java.lang.Object[] params)
           
 javax.xml.registry.JAXRException newJAXRException(java.lang.String key)
           
 javax.xml.registry.JAXRException newJAXRException(java.lang.String key, java.lang.Object[] params)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static I18nUtil getInstance()

getMessage

public java.lang.String getMessage(java.lang.String key)

getMessage

public java.lang.String getMessage(java.lang.String key,
                                   java.lang.Object[] params)

newJAXRException

public javax.xml.registry.JAXRException newJAXRException(java.lang.String key)

newJAXRException

public javax.xml.registry.JAXRException newJAXRException(java.lang.String key,
                                                         java.lang.Object[] params)


Copyright © 2001-2004 OASIS. All Rights Reserved.