Class ZipHandler


  • public class ZipHandler
    extends Object
    Zip file support.
    • Constructor Detail

      • ZipHandler

        public ZipHandler​(File zipFile)
    • Method Detail

      • readTextFromFile

        public String readTextFromFile​(String fileInZip)
                                throws IOException
        read metadata files from a text file.
        Parameters:
        fileInZip -
        Returns:
        Throws:
        IOException
      • writeTextToFile

        public void writeTextToFile​(String fileInZip,
                                    String content)
                             throws IOException
        write metatdata files to an existing zip file.
        Parameters:
        fileInZip -
        content -
        Throws:
        IOException