Enum V3CompressionAlgorithm

    • Enum Constant Detail

      • BZ

        public static final V3CompressionAlgorithm BZ
        bzip-2 compression format. See [http://www.bzip.org/] for more information.
      • DF

        public static final V3CompressionAlgorithm DF
        The deflate compressed data format as specified in RFC 1951 [http://www.ietf.org/rfc/rfc1951.txt].
      • GZ

        public static final V3CompressionAlgorithm GZ
        A compressed data format that is compatible with the widely used GZIP utility as specified in RFC 1952 [http://www.ietf.org/rfc/rfc1952.txt] (uses the deflate algorithm).
      • Z

        public static final V3CompressionAlgorithm Z
        Original UNIX compress algorithm and file format using the LZC algorithm (a variant of LZW). Patent encumbered and less efficient than deflate.
      • Z7

        public static final V3CompressionAlgorithm Z7
        7z compression file format. See [http://www.7-zip.org/7z.html] for more information.
      • ZL

        public static final V3CompressionAlgorithm ZL
        A compressed data format that also uses the deflate algorithm. Specified as RFC 1950 [http://www.ietf.org/rfc/rfc1952.txt]
    • Method Detail

      • values

        public static V3CompressionAlgorithm[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (V3CompressionAlgorithm c : V3CompressionAlgorithm.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static V3CompressionAlgorithm valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null