Package de.brendamour.jpasskit.signing
Class PKPassTemplateFolder
- java.lang.Object
-
- de.brendamour.jpasskit.signing.PKPassTemplateFolder
-
- All Implemented Interfaces:
IPKPassTemplate
public class PKPassTemplateFolder extends java.lang.Object implements IPKPassTemplate
-
-
Constructor Summary
Constructors Constructor Description PKPassTemplateFolder(java.lang.String pathToTemplateDirectory)PKPassTemplateFolder(java.net.URL fileUrlOfTemplateDirectory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.nio.ByteBuffer>getAllFiles()voidprovisionPassAtDirectory(java.io.File tempPassDir)Prepare pass at directory with files included in this template
-
-
-
Method Detail
-
provisionPassAtDirectory
public void provisionPassAtDirectory(java.io.File tempPassDir) throws java.io.IOExceptionDescription 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:
java.io.IOException- if anything goes wrong while copying the files
-
getAllFiles
public java.util.Map<java.lang.String,java.nio.ByteBuffer> getAllFiles() throws java.io.IOException- Specified by:
getAllFilesin interfaceIPKPassTemplate- Throws:
java.io.IOException
-
-