|
||||||||||
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.ClassLoaderResolver
public class ClassLoaderResolver
Constructor Summary | |
---|---|
ClassLoaderResolver()
|
Method Summary | |
---|---|
protected java.net.URL |
getResource(TemplateEngine engine,
java.lang.String resource)
|
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 ClassLoaderResolver()
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)
protected java.net.URL getResource(TemplateEngine engine, java.lang.String resource)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |