IPKPassTemplatepublic class PKPassTemplateFolder extends Object implements IPKPassTemplate
| Constructor | Description |
|---|---|
PKPassTemplateFolder(String pathToTemplateDirectory) |
|
PKPassTemplateFolder(URL fileUrlOfTemplateDirectory) |
| Modifier and Type | Method | 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–2018. All rights reserved.