Class TestMeResourceLoader
java.lang.Object
org.apache.velocity.runtime.resource.loader.ResourceLoader
com.weirddev.testme.intellij.generator.TestMeResourceLoader
public class TestMeResourceLoader
extends org.apache.velocity.runtime.resource.loader.ResourceLoader
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
getLastModified
(org.apache.velocity.runtime.resource.Resource resource) getResourceReader
(String source, String encoding) void
init
(org.apache.velocity.util.ExtProperties extProperties) boolean
isSourceModified
(org.apache.velocity.runtime.resource.Resource resource) Methods inherited from class org.apache.velocity.runtime.resource.loader.ResourceLoader
commonInit, getClassName, getModificationCheckInterval, isCachingOn, resourceExists, setCachingOn, setModificationCheckInterval
-
Constructor Details
-
TestMeResourceLoader
public TestMeResourceLoader()
-
-
Method Details
-
init
public void init(org.apache.velocity.util.ExtProperties extProperties) - Specified by:
init
in classorg.apache.velocity.runtime.resource.loader.ResourceLoader
-
getResourceReader
public Reader getResourceReader(String source, String encoding) throws org.apache.velocity.exception.ResourceNotFoundException - Specified by:
getResourceReader
in classorg.apache.velocity.runtime.resource.loader.ResourceLoader
- Throws:
org.apache.velocity.exception.ResourceNotFoundException
-
isSourceModified
public boolean isSourceModified(org.apache.velocity.runtime.resource.Resource resource) - Specified by:
isSourceModified
in classorg.apache.velocity.runtime.resource.loader.ResourceLoader
-
getLastModified
public long getLastModified(org.apache.velocity.runtime.resource.Resource resource) - Specified by:
getLastModified
in classorg.apache.velocity.runtime.resource.loader.ResourceLoader
-