org.tinyjee.maven.dim.sources
Class TemplateSource.UrlResourceLoader
java.lang.Object
org.apache.velocity.runtime.resource.loader.ResourceLoader
org.tinyjee.maven.dim.sources.TemplateSource.UrlResourceLoader
- Enclosing class:
- TemplateSource
public static class TemplateSource.UrlResourceLoader
- extends ResourceLoader
Resolves templates from Urls.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TemplateSource.UrlResourceLoader
public TemplateSource.UrlResourceLoader()
init
public void init(org.apache.commons.collections.ExtendedProperties extendedProperties)
- Specified by:
init
in class ResourceLoader
getResourceStream
public InputStream getResourceStream(String sourceUrl)
throws ResourceNotFoundException
- Specified by:
getResourceStream
in class ResourceLoader
- Throws:
ResourceNotFoundException
isSourceModified
public boolean isSourceModified(Resource resource)
- Specified by:
isSourceModified
in class ResourceLoader
getLastModified
public long getLastModified(Resource resource)
- Specified by:
getLastModified
in class ResourceLoader