org.apache.commons.i18n.bundles
Class TextBundle

java.lang.Object
  extended byorg.apache.commons.i18n.LocalizedBundle
      extended byorg.apache.commons.i18n.bundles.TextBundle
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
MessageBundle

public class TextBundle
extends LocalizedBundle

See Also:
Serialized Form

Field Summary
static String TEXT
           
 
Fields inherited from class org.apache.commons.i18n.LocalizedBundle
arguments, ARGUMENTS, id, ID
 
Constructor Summary
TextBundle(String messageId)
           
TextBundle(String messageId, Object[] arguments)
           
 
Method Summary
 String getText(Locale locale)
           
 String getText(Locale locale, String defaultText)
           
 
Methods inherited from class org.apache.commons.i18n.LocalizedBundle
getArguments, getId, getText, getText
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TEXT

public static final String TEXT
See Also:
Constant Field Values
Constructor Detail

TextBundle

public TextBundle(String messageId)

TextBundle

public TextBundle(String messageId,
                  Object[] arguments)
Method Detail

getText

public String getText(Locale locale)
               throws MessageNotFoundException
Throws:
MessageNotFoundException

getText

public String getText(Locale locale,
                      String defaultText)


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