public class RepresentationResourceLoader extends ResourceLoader
className, isCachingOn, log, modificationCheckInterval, rsvc
Constructor and Description |
---|
RepresentationResourceLoader(Representation defaultRepresentation)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
long |
getLastModified(Resource resource) |
Reader |
getResourceReader(String source,
String encoding) |
static Map<String,Representation> |
getStore()
Returns the cache of template representations.
|
void |
init(ExtProperties configuration) |
boolean |
isSourceModified(Resource resource) |
buildReader, commonInit, getClassName, getModificationCheckInterval, isCachingOn, resourceExists, setCachingOn, setModificationCheckInterval
public RepresentationResourceLoader(Representation defaultRepresentation)
defaultRepresentation
- The default representation to use.public static Map<String,Representation> getStore()
public long getLastModified(Resource resource)
getLastModified
in class ResourceLoader
public boolean isSourceModified(Resource resource)
isSourceModified
in class ResourceLoader
public Reader getResourceReader(String source, String encoding) throws ResourceNotFoundException
getResourceReader
in class ResourceLoader
ResourceNotFoundException
public void init(ExtProperties configuration)
init
in class ResourceLoader
Copyright © 2005-2017 Restlet.