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

A loader for templates stored on the file system.
상속: ResourceLoader
파일 보기 프로젝트 열기: rasmus-toftdahl-olesen/NVelocity

보호된 프로퍼티들

프로퍼티 타입 설명
paths System.Collections.ArrayList
templatePaths System.Collections.Hashtable

공개 메소드들

메소드 설명
GetLastModified ( Util.Resource resource ) : long
GetResourceStream ( String templateName ) : Stream

Get an InputStream so that the Runtime can build a template with it.

Init ( ExtendedProperties configuration ) : void
IsSourceModified ( Util.Resource resource ) : bool

How to keep track of all the modified times across the paths.

비공개 메소드들

메소드 설명
FindTemplate ( String path, String template ) : Stream

Try to find a template given a normalized path.

메소드 상세

GetLastModified() 공개 메소드

public GetLastModified ( Util.Resource resource ) : long
resource Util.Resource
리턴 long

GetResourceStream() 공개 메소드

Get an InputStream so that the Runtime can build a template with it.
public GetResourceStream ( String templateName ) : Stream
templateName String name of template to get
리턴 Stream

Init() 공개 메소드

public Init ( ExtendedProperties configuration ) : void
configuration Commons.Collections.ExtendedProperties
리턴 void

IsSourceModified() 공개 메소드

How to keep track of all the modified times across the paths.
public IsSourceModified ( Util.Resource resource ) : bool
resource Util.Resource
리턴 bool

프로퍼티 상세

paths 보호되어 있는 프로퍼티

The paths to search for templates.
protected ArrayList,System.Collections paths
리턴 System.Collections.ArrayList

templatePaths 보호되어 있는 프로퍼티

Used to map the path that a template was found on so that we can properly check the modification times of the files.
protected Hashtable,System.Collections templatePaths
리턴 System.Collections.Hashtable