public class ClasspathResourceUncryptedPack extends Object implements TemplatePack
Constructor and Description |
---|
ClasspathResourceUncryptedPack(TemplatePackInfo packInfo,
Resource[] templatesAsResources) |
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.
|
String |
toString() |
public ClasspathResourceUncryptedPack(TemplatePackInfo packInfo, Resource[] templatesAsResources) throws IOException
IOException
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.