FileResourceLoader
@Deprecated
public class SiteResourceLoader
extends org.apache.velocity.runtime.resource.loader.ResourceLoader
Modifier and Type | Field and Description |
---|---|
private static java.lang.String |
resource
Deprecated.
|
private static java.io.File |
resourceDir
Deprecated.
|
Constructor and Description |
---|
SiteResourceLoader()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
long |
getLastModified(org.apache.velocity.runtime.resource.Resource resource)
Deprecated.
|
java.io.InputStream |
getResourceStream(java.lang.String name)
Deprecated.
|
void |
init(org.apache.commons.collections.ExtendedProperties p)
Deprecated.
|
boolean |
isSourceModified(org.apache.velocity.runtime.resource.Resource resource)
Deprecated.
|
static void |
setResource(java.lang.String staticResource)
Deprecated.
|
private static java.lang.String resource
private static java.io.File resourceDir
public static void setResource(java.lang.String staticResource)
public void init(org.apache.commons.collections.ExtendedProperties p)
init
in class org.apache.velocity.runtime.resource.loader.ResourceLoader
public java.io.InputStream getResourceStream(java.lang.String name) throws org.apache.velocity.exception.ResourceNotFoundException
getResourceStream
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