protected static class VelocityScriptEngine.SingleResourceReader extends StringResourceLoader
repository, REPOSITORY_CLASS, REPOSITORY_CLASS_DEFAULT, REPOSITORY_ENCODING, REPOSITORY_NAME, REPOSITORY_NAME_DEFAULT, REPOSITORY_STATIC, REPOSITORY_STATIC_DEFAULT, STATIC_REPOSITORIESclassName, isCachingOn, log, modificationCheckInterval, rsvc| Constructor and Description |
|---|
SingleResourceReader(Reader r) |
| Modifier and Type | Method and Description |
|---|---|
Reader |
getResourceReader(String source,
String encoding)
Get a reader so that the Runtime can build a
template with it.
|
clearRepositories, createRepository, getLastModified, getRepository, getRepository, init, isSourceModified, removeRepository, resourceExists, setRepositorybuildReader, commonInit, getClassName, getModificationCheckInterval, isCachingOn, setCachingOn, setModificationCheckIntervalpublic SingleResourceReader(Reader r)
public Reader getResourceReader(String source, String encoding) throws ResourceNotFoundException
StringResourceLoadergetResourceReader in class StringResourceLoadersource - name of template to get.encoding - asked encodingResourceNotFoundException - Ff template not found
in the RepositoryFactory.Copyright © 2000–2021 The Apache Software Foundation. All rights reserved.