Class FileSystemTemplateSource
- java.lang.Object
-
- org.smallmind.nutsnbolts.freemarker.FileSystemTemplateSource
-
public class FileSystemTemplateSource extends Object
-
-
Constructor Summary
Constructors Constructor Description FileSystemTemplateSource(Path templatePath)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()booleanequals(Object obj)booleanexists()InputStreamgetInputStream()longgetLastModified()PathgetTemplatePath()inthashCode()
-
-
-
Constructor Detail
-
FileSystemTemplateSource
public FileSystemTemplateSource(Path templatePath)
-
-
Method Detail
-
getTemplatePath
public Path getTemplatePath()
-
getLastModified
public long getLastModified() throws IOException- Throws:
IOException
-
exists
public boolean exists()
-
getInputStream
public InputStream getInputStream() throws IOException
- Throws:
IOException
-
close
public void close() throws IOException- Throws:
IOException
-
-