Uses of Interface
io.pebbletemplates.pebble.loader.Loader
-
Packages that use Loader Package Description io.pebbletemplates.pebble io.pebbletemplates.pebble.loader -
-
Uses of Loader in io.pebbletemplates.pebble
Fields in io.pebbletemplates.pebble declared as Loader Modifier and Type Field Description private Loader<?>
PebbleEngine.Builder. loader
private Loader<?>
PebbleEngine. loader
Methods in io.pebbletemplates.pebble that return Loader Modifier and Type Method Description Loader<?>
PebbleEngine. getLoader()
Returns the loaderMethods in io.pebbletemplates.pebble with parameters of type Loader Modifier and Type Method Description private PebbleTemplate
PebbleEngine. getPebbleTemplate(java.lang.String templateName, Loader loader, java.lang.Object cacheKey)
private PebbleTemplate
PebbleEngine. getTemplate(java.lang.String templateName, Loader loader)
PebbleEngine.Builder
PebbleEngine.Builder. loader(Loader<?> loader)
Sets the loader used to find templates.Constructors in io.pebbletemplates.pebble with parameters of type Loader Constructor Description PebbleEngine(Loader<?> loader, Syntax syntax, boolean strictVariables, java.util.Locale defaultLocale, int maxRenderedSize, PebbleCache<CacheKey,java.lang.Object> tagCache, PebbleCache<java.lang.Object,PebbleTemplate> templateCache, java.util.concurrent.ExecutorService executorService, ExtensionRegistry extensionRegistry, ParserOptions parserOptions, EvaluationOptions evaluationOptions)
Constructor for the Pebble Engine given an instantiated Loader. -
Uses of Loader in io.pebbletemplates.pebble.loader
Classes in io.pebbletemplates.pebble.loader that implement Loader Modifier and Type Class Description class
AbstractServletLoader
Abstract base class for loaders which user the servlet context to load templates.class
ClasspathLoader
Uses a classloader to find templates located on the classpath.class
DelegatingLoader
This loader will delegate control to a list of children loaders.class
FileLoader
This loader searches for a file located anywhere on the filesystem.class
MemoryLoader
class
Servlet5Loader
Loader that uses a servlet context to find templates.class
ServletLoader
Loader that uses a servlet context to find templates.class
StringLoader
This loader is not intended to be used in a production system; it is primarily for testing and debugging.Fields in io.pebbletemplates.pebble.loader with type parameters of type Loader Modifier and Type Field Description private java.util.List<Loader<?>>
DelegatingLoader. loaders
Children loaders to delegate to.Methods in io.pebbletemplates.pebble.loader with parameters of type Loader Modifier and Type Method Description private <T> java.io.Reader
DelegatingLoader. getReaderInner(Loader<T> delegatingLoader, java.lang.Object cacheKey)
Constructor parameters in io.pebbletemplates.pebble.loader with type arguments of type Loader Constructor Description DelegatingLoader(java.util.List<Loader<?>> loaders)
Constructor provided with a list of children loaders.
-