public class DynamicTemplateResolver
extends java.lang.Object
| Constructor and Description |
|---|
DynamicTemplateResolver(org.springframework.core.io.Resource resource) |
| Modifier and Type | Method and Description |
|---|---|
DynamicTemplateResolver |
encoding(java.lang.String encoding) |
void |
load(NamedTemplateCallback callback) |
static DynamicTemplateResolver |
of(org.springframework.core.io.Resource resource) |
static java.util.List<java.lang.String> |
readLines(java.io.InputStream input,
java.lang.String encoding) |
static java.io.BufferedReader |
toBufferedReader(java.io.Reader reader) |
public DynamicTemplateResolver(org.springframework.core.io.Resource resource)
public static DynamicTemplateResolver of(org.springframework.core.io.Resource resource)
public static java.io.BufferedReader toBufferedReader(java.io.Reader reader)
public static java.util.List<java.lang.String> readLines(java.io.InputStream input,
java.lang.String encoding)
throws java.io.IOException
java.io.IOExceptionpublic DynamicTemplateResolver encoding(java.lang.String encoding)
public void load(NamedTemplateCallback callback) throws java.lang.Exception
java.lang.Exception