Class OperatingSystem


  • public final class OperatingSystem
    extends Object
    Enumerated type for GZip supported operating systems.
    • Constructor Detail

      • OperatingSystem

        protected OperatingSystem​(int value,
                                  String label,
                                  boolean valid)
        Constructor.
        Parameters:
        value - The compression type value.
        label - The name of the compression type.
        valid - If it is a valid compression type.
    • Method Detail

      • fromValue

        public static OperatingSystem fromValue​(int n)
        Returns the enumerated value object corresponding to the specified integer value. If the integer value is unknown, an instance marked as not valid is returned.
        Parameters:
        n - the integer value to map.
        Returns:
        a operating system object, valid if n is one of the defined valid values.