public class SolrVelocityResourceLoader
extends org.apache.velocity.runtime.resource.loader.ResourceLoader
| Constructor and Description |
|---|
SolrVelocityResourceLoader(SolrResourceLoader loader) |
| Modifier and Type | Method and Description |
|---|---|
long |
getLastModified(org.apache.velocity.runtime.resource.Resource resource) |
Reader |
getResourceReader(String source,
String encoding) |
void |
init(org.apache.velocity.util.ExtProperties extendedProperties) |
boolean |
isSourceModified(org.apache.velocity.runtime.resource.Resource resource) |
public SolrVelocityResourceLoader(SolrResourceLoader loader)
public void init(org.apache.velocity.util.ExtProperties extendedProperties)
init in class org.apache.velocity.runtime.resource.loader.ResourceLoaderpublic Reader getResourceReader(String source, String encoding) throws org.apache.velocity.exception.ResourceNotFoundException
getResourceReader in class org.apache.velocity.runtime.resource.loader.ResourceLoaderorg.apache.velocity.exception.ResourceNotFoundExceptionpublic boolean isSourceModified(org.apache.velocity.runtime.resource.Resource resource)
isSourceModified in class org.apache.velocity.runtime.resource.loader.ResourceLoaderpublic long getLastModified(org.apache.velocity.runtime.resource.Resource resource)
getLastModified in class org.apache.velocity.runtime.resource.loader.ResourceLoaderCopyright © 2000-2021 Apache Software Foundation. All Rights Reserved.