Class ResourceLoader
java.lang.Object
com.github.sonus21.rqueue.utils.pebble.ResourceLoader
- All Implemented Interfaces:
io.pebbletemplates.pebble.loader.Loader<String>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateCacheKey(String templateName) resolveRelativePath(String relativePath, String anchorPath) booleanresourceExists(String templateName) voidsetCharset(String charset) voidvoid
-
Constructor Details
-
ResourceLoader
public ResourceLoader()
-
-
Method Details
-
getReader
- Specified by:
getReaderin interfaceio.pebbletemplates.pebble.loader.Loader<String>
-
getSuffix
-
setSuffix
- Specified by:
setSuffixin interfaceio.pebbletemplates.pebble.loader.Loader<String>
-
getPrefix
-
setPrefix
- Specified by:
setPrefixin interfaceio.pebbletemplates.pebble.loader.Loader<String>
-
getCharset
-
setCharset
- Specified by:
setCharsetin interfaceio.pebbletemplates.pebble.loader.Loader<String>
-
resolveRelativePath
- Specified by:
resolveRelativePathin interfaceio.pebbletemplates.pebble.loader.Loader<String>
-
createCacheKey
- Specified by:
createCacheKeyin interfaceio.pebbletemplates.pebble.loader.Loader<String>
-
resourceExists
- Specified by:
resourceExistsin interfaceio.pebbletemplates.pebble.loader.Loader<String>
-