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()
TemplatePackgetName in interface TemplatePackpublic List<String> getTemplateNames()
TemplatePackgetTemplateNames in interface TemplatePackpublic Template getTemplateByName(String templateName) throws IOException
TemplatePackgetTemplateByName in interface TemplatePackIOExceptionCopyright © 2005-2013 JAXIO S.A.R.L. - All Rights Reserved.