org.apache.commons.i18n
Interface MessageProvider

All Known Implementing Classes:
ResourceBundleMessageProvider, XMLMessageProvider

public interface MessageProvider


Method Summary
 Map getEntries(String id, Locale locale)
           
 String getText(String id, String entry, Locale locale)
           
 

Method Detail

getText

public String getText(String id,
                      String entry,
                      Locale locale)
               throws MessageNotFoundException
Throws:
MessageNotFoundException

getEntries

public Map getEntries(String id,
                      Locale locale)
               throws MessageNotFoundException
Throws:
MessageNotFoundException


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