public class PebbleLoader
extends com.mitchellbosecke.pebble.loader.ClasspathLoader
Constructor and Description |
---|
PebbleLoader(ViewsConfiguration views,
PebbleConfiguration pebble) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
createCacheKey(java.lang.String templateName) |
boolean |
resourceExists(java.lang.String templateName) |
public PebbleLoader(ViewsConfiguration views, PebbleConfiguration pebble)
views
- Views Configurationpebble
- Pebble Configurationpublic java.lang.String createCacheKey(java.lang.String templateName)
createCacheKey
in interface com.mitchellbosecke.pebble.loader.Loader<java.lang.String>
createCacheKey
in class com.mitchellbosecke.pebble.loader.ClasspathLoader
public boolean resourceExists(java.lang.String templateName)
resourceExists
in interface com.mitchellbosecke.pebble.loader.Loader<java.lang.String>
resourceExists
in class com.mitchellbosecke.pebble.loader.ClasspathLoader