org.peaseplate.locator
Interface MessagesLocator

All Superinterfaces:
Locator, java.io.Serializable
All Known Implementing Classes:
ClassLoaderMessagesLocator, URLBasedMessagesLocator

public interface MessagesLocator
extends Locator

A messages locator knows of the source some messages came from


Method Summary
 Messages load()
          Loads the messages an returns a messages object containing the messages.
 
Methods inherited from interface org.peaseplate.locator.Locator
getKey, getRawSize, getTimestamp, isOutdated, setRawSize, setTimestamp, toString
 

Method Detail

load

Messages load()
              throws TemplateLocatorException
Loads the messages an returns a messages object containing the messages. Don't forget to update the timestamp and the rawSize properties when loading the data.

Returns:
a messages object
Throws:
TemplateLocatorException - on occasion


Copyright © 2008. All Rights Reserved.