Property | Type | Description | |
---|---|---|---|
className | String | ||
isCachingOn | bool | ||
modificationCheckInterval | long | ||
runtimeServices | IRuntimeServices |
Method | Description | |
---|---|---|
CommonInit ( IRuntimeServices rs, |
This initialization is used by all resource loaders and must be called to set up common properties shared by all resource loaders
|
|
GetLastModified ( Resource resource ) : long |
Get the last modified time of the InputStream source that was used to create the template. We need the template here because we have to extract the name of the template in order to locate the InputStream source.
|
|
GetResourceStream ( String source ) : Stream |
Get the InputStream that the Runtime will parse to create a template.
|
|
Init ( |
Initialize the template loader with a a resources class.
|
|
IsSourceModified ( Resource resource ) : bool |
Given a template, check to see if the source of InputStream has been modified.
|
public CommonInit ( IRuntimeServices rs, |
||
rs | IRuntimeServices | |
configuration | ||
return | void |
public abstract GetLastModified ( Resource resource ) : long | ||
resource | Resource | |
return | long |
public abstract GetResourceStream ( String source ) : Stream | ||
source | String | |
return | Stream |
public abstract Init ( |
||
configuration | ||
return | void |
public abstract IsSourceModified ( Resource resource ) : bool | ||
resource | Resource | |
return | bool |
protected long modificationCheckInterval | ||
return | long |