org.apache.commons.i18n
Class ResourceBundleMessageProvider

java.lang.Object
  extended byorg.apache.commons.i18n.ResourceBundleMessageProvider
All Implemented Interfaces:
MessageProvider

public class ResourceBundleMessageProvider
extends Object
implements MessageProvider


Constructor Summary
ResourceBundleMessageProvider()
           
 
Method Summary
 Map getEntries(String id, Locale locale)
           
 String getText(String id, String entry, Locale locale)
           
static void install(String baseName)
           
static void uninstall(String baseName)
           
static void update(String baseName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceBundleMessageProvider

public ResourceBundleMessageProvider()
Method Detail

getText

public String getText(String id,
                      String entry,
                      Locale locale)
               throws MessageNotFoundException
Specified by:
getText in interface MessageProvider
Throws:
MessageNotFoundException

getEntries

public Map getEntries(String id,
                      Locale locale)
Specified by:
getEntries in interface MessageProvider

install

public static void install(String baseName)

uninstall

public static void uninstall(String baseName)

update

public static void update(String baseName)


Copyright © 2004-2005 The Apache Software Foundation. All Rights Reserved.