org.apache.commons.i18n
Class LocalizedMessage

java.lang.Object
  extended byorg.apache.commons.i18n.LocalizedBundle
      extended byorg.apache.commons.i18n.LocalizedText
          extended byorg.apache.commons.i18n.LocalizedMessage
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
LocalizedError

public class LocalizedMessage
extends LocalizedText

See Also:
Serialized Form

Field Summary
static String TITLE
           
 
Fields inherited from class org.apache.commons.i18n.LocalizedText
TEXT
 
Fields inherited from class org.apache.commons.i18n.LocalizedBundle
arguments, ARGUMENTS, id, ID
 
Constructor Summary
LocalizedMessage(String messageId)
           
LocalizedMessage(String messageId, Object[] arguments)
           
 
Method Summary
 String getTitle()
           
 String getTitle(Locale locale)
           
 String getTitle(Locale locale, String defaultTitle)
           
 String getTitle(String defaultTitle)
           
 
Methods inherited from class org.apache.commons.i18n.LocalizedText
getText, getText, getText, getText
 
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

TITLE

public static String TITLE
Constructor Detail

LocalizedMessage

public LocalizedMessage(String messageId)

LocalizedMessage

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

getTitle

public String getTitle()
                throws MessageNotFoundException
Throws:
MessageNotFoundException

getTitle

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

getTitle

public String getTitle(String defaultTitle)

getTitle

public String getTitle(Locale locale,
                       String defaultTitle)


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