org.apache.commons.i18n
Class LocalizedText
java.lang.Object
org.apache.commons.i18n.LocalizedBundle
org.apache.commons.i18n.LocalizedText
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- LocalizedMessage
- public class LocalizedText
- extends LocalizedBundle
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TEXT
public static final String TEXT
- See Also:
- Constant Field Values
LocalizedText
public LocalizedText(String messageId)
LocalizedText
public LocalizedText(String messageId,
Object[] arguments)
getText
public String getText()
throws MessageNotFoundException
- Throws:
MessageNotFoundException
getText
public String getText(Locale locale)
throws MessageNotFoundException
- Throws:
MessageNotFoundException
getText
public String getText(String defaultText)
getText
public String getText(Locale locale,
String defaultText)
Copyright © 2004-2005 The Apache Software Foundation. All Rights Reserved.