Class UnzippedWriter

java.lang.Object
tritechgemini.fileio.UnzippedWriter

public class UnzippedWriter extends Object
Class to write uncompressed zip files since all the ones that are in Java don't see to actually work in any way and always compress the data. To be used for creating GLF files in same format as Genesis data. Tested with a single file input. May or may not work with two or more input files.

Format largely described at https://en.wikipedia.org/wiki/ZIP_(file_format)

Author:
Doug Gillespie
  • Constructor Details

    • UnzippedWriter

      public UnzippedWriter()
  • Method Details

    • writeArcive

      public boolean writeArcive(File outputFile, File... files) throws IOException
      Write a list of files to an uncompressed zip archive.
      Parameters:
      outputFile - output (zipped) file
      files - list of data files.
      Returns:
      true if no exceptions
      Throws:
      IOException