C# 클래스 NVelocity.Runtime.Resource.Loader.AssemblyResourceLoader

상속: ResourceLoader
파일 보기 프로젝트 열기: nats/castle-1.0.3-mono

공개 메소드들

메소드 설명
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