Package de.brendamour.jpasskit.signing
Class PKPassTemplateFolder
java.lang.Object
de.brendamour.jpasskit.signing.PKPassTemplateFolder
- All Implemented Interfaces:
IPKPassTemplate
-
Constructor Summary
ConstructorsConstructorDescriptionPKPassTemplateFolder(String pathToTemplateDirectory) PKPassTemplateFolder(URL fileUrlOfTemplateDirectory) -
Method Summary
Modifier and TypeMethodDescriptionvoidprovisionPassAtDirectory(File tempPassDir) Prepare pass at directory with files included in this template
-
Constructor Details
-
PKPassTemplateFolder
- Throws:
UnsupportedEncodingException
-
PKPassTemplateFolder
-
-
Method Details
-
provisionPassAtDirectory
Description copied from interface:IPKPassTemplatePrepare pass at directory with files included in this template- Specified by:
provisionPassAtDirectoryin interfaceIPKPassTemplate- Parameters:
tempPassDir- path to directory where temporary pass will be created- Throws:
IOException- if anything goes wrong while copying the files
-
getAllFiles
- Specified by:
getAllFilesin interfaceIPKPassTemplate- Throws:
IOException
-