Class GzipParameters

    • Method Detail

      • setModificationTime

        public void setModificationTime​(long modificationTime)
        Sets the modification time of the compressed file.
        Parameters:
        modificationTime - the modification time, in milliseconds
      • setFilename

        public void setFilename​(String fileName)
        Sets the name of the compressed file.
        Parameters:
        fileName - the name of the file without the directory path
      • setOperatingSystem

        public void setOperatingSystem​(int operatingSystem)
        Sets the operating system on which the compression took place. The defined values are:
        • 0: FAT file system (MS-DOS, OS/2, NT/Win32)
        • 1: Amiga
        • 2: VMS (or OpenVMS)
        • 3: Unix
        • 4: VM/CMS
        • 5: Atari TOS
        • 6: HPFS file system (OS/2, NT)
        • 7: Macintosh
        • 8: Z-System
        • 9: CP/M
        • 10: TOPS-20
        • 11: NTFS file system (NT)
        • 12: QDOS
        • 13: Acorn RISCOS
        • 255: Unknown
        Parameters:
        operatingSystem - the code of the operating system