Class ZipToKabCopier

java.lang.Object
com.tccc.kos.commons.kab.ZipToKabCopier

public class ZipToKabCopier extends Object
Version:
Jun-22-22
  • Constructor Details

    • ZipToKabCopier

      public ZipToKabCopier(File zipFile, File kabFile) throws FileNotFoundException
      Creates a reader for the zip file and a writer for the KAB file.
      Parameters:
      zipFile - the ZIP file to read from
      kabFile - the KAB file to write to
      Throws:
      FileNotFoundException
    • ZipToKabCopier

      public ZipToKabCopier(InputStream zipInput, OutputStream kabOutput)
      Creates a writer to copy the specified ZIP file to the destination KAB stream.
      Parameters:
      zipInput - the ZIP input stream to read from
      kabOutput - the KAB output stream to write to
  • Method Details