B4J Library SD: ZipLibrary

Discussion in 'B4J Libraries & Classes' started by Star-Dust, Mar 14, 2018.

  1. Star-Dust

    Star-Dust Expert Licensed User

    jSD_ZipLibray

    Author: Star-Dust
    Version: 1.01
    • SD_ZipLibray
      • Functions:
        • Class_Globals As String
        • Initialize As String
          Inizializza l'oggetto. Puoi aggiungere parametri a questo metodo,se necessario.
        • IsInitialized As Boolean
          Verifica se l'oggetto sia stato inizializzato.
        • Zip (FilesTxt As String(), FileZip As String)
        • unZip (FilesZip As String, OutPutFolder As String)
        • unZipList (FilesZip As String, OutPutFolder As String) As List
    ZIP
    Code:
    Dim ZL As SD_ZipLibray
     
    ZL.Initialize
    ZL.Zip(ListFiles,ZipFileName)


    UnZip
    Code:
    Dim UnZL As SD_ZipLibray
      
        UnZL.Initialize
        UnZL.unZip(ZipFileName,FolderDestination)


    N.B. When you choose the folder where to save the ZIP file, make sure it is a folder that you have write permission
     

    Attached Files:

    Last edited: Mar 15, 2018
  2. Peter Simpson

    Peter Simpson Expert Licensed User

    This is perfect for my next project.

    Thank you...
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice