| org.apache.roller.ui.rendering.velocity.WebappResourceLoader
WebappResourceLoader | public class WebappResourceLoader extends ResourceLoader (Code) | | Loads Velocity resources from the webapp.
All resource urls begin from the root of the webapp. If a resource path
is relative (does not begin with a /) then it is prefixed with the path
/WEB-INF/velocity/, which is where Roller keeps its velocity files.
|
getLastModified | public long getLastModified(Resource arg0)(Code) | | Defaults to return 0.
See Also: org.apache.velocity.runtime.resource.loader.ResourceLoader.getLastModified(org.apache.velocity.runtime.resource.Resource) |
getResourceStream | public InputStream getResourceStream(String name) throws ResourceNotFoundException(Code) | | See Also: org.apache.velocity.runtime.resource.loader.ResourceLoader.getResourceStream(java.lang.String) |
init | public void init(ExtendedProperties config)(Code) | | See Also: org.apache.velocity.runtime.resource.loader.ResourceLoader.init(org.apache.commons.collections.ExtendedProperties) |
isSourceModified | public boolean isSourceModified(Resource arg0)(Code) | | Files loaded by this resource loader are considered static, so they are
never reloaded by velocity.
See Also: org.apache.velocity.runtime.resource.loader.ResourceLoader.isSourceModified(org.apache.velocity.runtime.resource.Resource) |
|
|