org.apache.commons.i18n.bundles
Class MessageBundle

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

public class MessageBundle
extends TextBundle

See Also:
Serialized Form

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

MessageBundle

public MessageBundle(String messageId)

MessageBundle

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

getTitle

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

getTitle

public String getTitle(Locale locale,
                       String defaultTitle)


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