|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.peaseplate.resolver.AbstractFileBasedResolver org.peaseplate.internal.resolver.FileResolver
public class FileResolver
Constructor Summary | |
---|---|
FileResolver()
|
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. |
Methods inherited from class org.peaseplate.resolver.AbstractFileBasedResolver |
---|
convertBackslashes, formatLocale, includeLocale, replaceExtension |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FileResolver()
Method Detail |
---|
public TemplateLocator resolveTemplate(TemplateEngine engine, ResourceKey key) throws TemplateException
Resolver
TemplateLocator
if found
or null otherwise.
engine
- the Pease Plate enginekey
- the key
TemplateException
- on occasionResolver.resolveTemplate(org.peaseplate.TemplateEngine, org.peaseplate.internal.ResourceKey)
public MessagesLocator resolveMessages(TemplateEngine engine, ResourceKey key) throws TemplateException
Resolver
MessagesLocator
if found
or null otherwise
engine
- the Pease Plate enginekey
- the key
TemplateException
- on occasionResolver.resolveMessages(org.peaseplate.TemplateEngine, org.peaseplate.internal.ResourceKey)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |