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.ResourceLoader
public Reader getResourceReader(String source, String encoding) throws org.apache.velocity.exception.ResourceNotFoundException
getResourceReader
in class org.apache.velocity.runtime.resource.loader.ResourceLoader
org.apache.velocity.exception.ResourceNotFoundException
public boolean isSourceModified(org.apache.velocity.runtime.resource.Resource resource)
isSourceModified
in class org.apache.velocity.runtime.resource.loader.ResourceLoader
public long getLastModified(org.apache.velocity.runtime.resource.Resource resource)
getLastModified
in class org.apache.velocity.runtime.resource.loader.ResourceLoader
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.