Save This Page
Home » tapestry-src-5.0.19 » org.apache.tapestry5.ioc.internal.util » [javadoc | source]
org.apache.tapestry5.ioc.internal.util
public class: MessagesImpl [javadoc | source]
java.lang.Object
   org.apache.tapestry5.ioc.util.AbstractMessages
      org.apache.tapestry5.ioc.internal.util.MessagesImpl

All Implemented Interfaces:
    Messages

Implementation of org.apache.tapestry5.ioc.Messages based around a java.util.ResourceBundle .
Constructor:
 public MessagesImpl(Locale locale,
    ResourceBundle bundle) 
Method from org.apache.tapestry5.ioc.internal.util.MessagesImpl Summary:
forClass,   valueForKey
Methods from org.apache.tapestry5.ioc.util.AbstractMessages:
contains,   format,   get,   getFormatter,   valueForKey
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.tapestry5.ioc.internal.util.MessagesImpl Detail:
 public static Messages forClass(Class forClass) 
    Finds the messages for a given Messages utility class. Strings the trailing "Messages" and replaces it with "Strings" to form the base path. Loads the bundle using the default locale, and the class' class loader.
 protected String valueForKey(String key)