public class PKPassTemplateFolder extends Object implements IPKPassTemplate
| Constructor and Description |
|---|
PKPassTemplateFolder(String pathToTemplateDirectory) |
PKPassTemplateFolder(URL fileUrlOfTemplateDirectory) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,ByteBuffer> |
getAllFiles() |
void |
provisionPassAtDirectory(File tempPassDir)
Prepare pass at directory with files included in this template
|
public PKPassTemplateFolder(URL fileUrlOfTemplateDirectory) throws UnsupportedEncodingException
UnsupportedEncodingExceptionpublic PKPassTemplateFolder(String pathToTemplateDirectory)
public void provisionPassAtDirectory(File tempPassDir) throws IOException
IPKPassTemplateprovisionPassAtDirectory in interface IPKPassTemplatetempPassDir - path to directory where temporary pass will be createdIOException - if anything goes wrong while copying the filespublic Map<String,ByteBuffer> getAllFiles() throws IOException
getAllFiles in interface IPKPassTemplateIOExceptionCopyright © 2012–2015. All rights reserved.