org.peaseplate.internal.template
Class PropertyBasedMessages

java.lang.Object
  extended by org.peaseplate.internal.template.PropertyBasedMessages
All Implemented Interfaces:
Messages

public class PropertyBasedMessages
extends java.lang.Object
implements Messages


Constructor Summary
PropertyBasedMessages(MessagesLocator locator, java.util.Properties properties)
           
 
Method Summary
 MessagesLocator getLocator()
          Returns the locator of the messages.
 java.lang.String getMessage(java.lang.String key, java.lang.Object... values)
           
 Messages getParent()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyBasedMessages

public PropertyBasedMessages(MessagesLocator locator,
                             java.util.Properties properties)
Method Detail

getLocator

public MessagesLocator getLocator()
Description copied from interface: Messages
Returns the locator of the messages.

Specified by:
getLocator in interface Messages
Returns:
the message locator
See Also:
Messages.getLocator()

getParent

public Messages getParent()
Specified by:
getParent in interface Messages
See Also:
Messages.getParent()

getMessage

public java.lang.String getMessage(java.lang.String key,
                                   java.lang.Object... values)
Specified by:
getMessage in interface Messages
See Also:
Messages.getMessage(java.lang.String, java.lang.Object[])


Copyright © 2008. All Rights Reserved.