C# Класс NVelocity.Runtime.Resource.Loader.AssemblyResourceLoader

Наследование: ResourceLoader
Показать файл Открыть проект

Открытые методы

Метод Описание
AssemblyResourceLoader ( ) : System
GetLastModified ( Util.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 templateName ) : Stream

Get the InputStream that the Runtime will parse to create a template.

Init ( ExtendedProperties configuration ) : void

Initialize the template loader with a a resources class.

IsSourceModified ( Util.Resource resource ) : bool

Given a template, check to see if the source of InputStream has been modified.

Описание методов

AssemblyResourceLoader() публичный Метод

public AssemblyResourceLoader ( ) : System
Результат System

GetLastModified() публичный Метод

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.
public GetLastModified ( Util.Resource resource ) : long
resource Util.Resource
Результат long

GetResourceStream() публичный Метод

Get the InputStream that the Runtime will parse to create a template.
public GetResourceStream ( String templateName ) : Stream
templateName String
Результат Stream

Init() публичный Метод

Initialize the template loader with a a resources class.
public Init ( ExtendedProperties configuration ) : void
configuration Commons.Collections.ExtendedProperties
Результат void

IsSourceModified() публичный Метод

Given a template, check to see if the source of InputStream has been modified.
public IsSourceModified ( Util.Resource resource ) : bool
resource Util.Resource
Результат bool