public class ClasspathResourcePack extends Object implements TemplatePack
Constructor and Description |
---|
ClasspathResourcePack(String packName,
File packFile) |
Modifier and Type | Method and Description |
---|---|
String |
getName()
Returns the template pack name.
|
Template |
getTemplateByName(String templateName)
Lookup a template by its name (as returned by getTemplateNames()).
|
List<String> |
getTemplateNames()
Returns the name of all the templates contained in this pack.
|
static List<String> |
listFiles(File folder,
IOFileFilter ioFileFilter) |
String |
toString() |
public ClasspathResourcePack(String packName, File packFile)
public String getName()
TemplatePack
getName
in interface TemplatePack
public List<String> getTemplateNames()
TemplatePack
getTemplateNames
in interface TemplatePack
public Template getTemplateByName(String templateName) throws IOException
TemplatePack
getTemplateByName
in interface TemplatePack
IOException
Copyright © 2005-2013 JAXIO S.A.R.L. - All Rights Reserved.