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
IOExceptionpublic 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.