Class PKPassTemplateFolder

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Map<java.lang.String,​java.nio.ByteBuffer> getAllFiles()  
      void provisionPassAtDirectory​(java.io.File tempPassDir)
      Prepare pass at directory with files included in this template
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PKPassTemplateFolder

        public PKPassTemplateFolder​(java.net.URL fileUrlOfTemplateDirectory)
                             throws java.io.UnsupportedEncodingException
        Throws:
        java.io.UnsupportedEncodingException
      • PKPassTemplateFolder

        public PKPassTemplateFolder​(java.lang.String pathToTemplateDirectory)
    • Method Detail

      • provisionPassAtDirectory

        public void provisionPassAtDirectory​(java.io.File tempPassDir)
                                      throws java.io.IOException
        Description copied from interface: IPKPassTemplate
        Prepare pass at directory with files included in this template
        Specified by:
        provisionPassAtDirectory in interface IPKPassTemplate
        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:
        getAllFiles in interface IPKPassTemplate
        Throws:
        java.io.IOException