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