Package anlavn.file

Class Zip

java.lang.Object
anlavn.file.Zip

public class Zip extends Object
The Zip class supports to extract a zip file to your directories.
  • Constructor Details

    • Zip

      public Zip()
  • Method Details

    • extract

      public static final void extract(String zipFilePath, String yourDirectory)
      Use this method to extracts a .zip file specified to a directory specified.
      Parameters:
      zipFilePath - is the path of the zip file you want to extract.
      yourDirectory - is the path of the directory containing the files after extracting. It will be created if it does not exist, if you leave it blank then the root directory will be specified.