public class ClasspathTemplateResource extends TemplateResourceBase implements ITemplateResource
Created by IntelliJ IDEA. User: luog Date: 20/01/12 Time: 11:25 PM To change this template use File | Settings | File Templates.
cache, isProdMode, loader, logger, nextCheckPoint| Modifier and Type | Method and Description |
|---|---|
protected long |
defCheckInterval() |
String |
getKey()
The unique identifier used to fetch this resource by a
resource loader |
String |
getKey2() |
String |
getSuggestedClassName()
Propose a name of generated java class for this resource
|
boolean |
isValid()
Whether this resource is a valid resource
|
protected long |
lastModified() |
String |
reload() |
void |
setKey2(String key) |
protected Long |
userCheckInterval() |
asTemplateContent, codeType, equals, getEngine, getError, getLoader, getTypeOfPath, hashCode, path2CN, refresh, setErrorclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitasTemplateContent, codeType, getError, getLoader, refresh, setErrorpublic String getKey()
ITemplateResourceThe unique identifier used to fetch this resource by a resource loader
getKey in interface ITemplateResourcepublic void setKey2(String key)
public String getKey2()
public String reload()
reload in class TemplateResourceBaseprotected long lastModified()
lastModified in class TemplateResourceBasepublic boolean isValid()
ITemplateResourceWhether this resource is a valid resource
isValid in interface ITemplateResourceprotected long defCheckInterval()
defCheckInterval in class TemplateResourceBaseprotected Long userCheckInterval()
userCheckInterval in class TemplateResourceBasepublic String getSuggestedClassName()
ITemplateResourcePropose a name of generated java class for this resource
getSuggestedClassName in interface ITemplateResourcegetSuggestedClassName in class TemplateResourceBaseCopyright © 2017–2021 OSGL (Open Source General Library). All rights reserved.