|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Resolver
A resolver works on some specified source, like a file system or a class loader.
It looks for the raw template data and messages. If it found some data it creates a
TemplateLocator
or a MessagesLocator
that describes how the
data can be loaded.
Method Summary | |
---|---|
MessagesLocator |
resolveMessages(TemplateEngine engine,
ResourceKey key)
Resolves the specified messages and returns a MessagesLocator if found
or null otherwise |
TemplateLocator |
resolveTemplate(TemplateEngine engine,
ResourceKey key)
Resolves the specified template and returns a TemplateLocator if found
or null otherwise. |
Method Detail |
---|
TemplateLocator resolveTemplate(TemplateEngine engine, ResourceKey key) throws TemplateException
TemplateLocator
if found
or null otherwise.
engine
- the Pease Plate enginekey
- the key
TemplateException
- on occasionMessagesLocator resolveMessages(TemplateEngine engine, ResourceKey key) throws TemplateException
MessagesLocator
if found
or null otherwise
engine
- the Pease Plate enginekey
- the key
TemplateException
- on occasion
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |