Enum OsType

    • Enum Constant Detail

      • OS_LINUX

        public static final OsType OS_LINUX
      • OS_DARWIN

        public static final OsType OS_DARWIN
      • OS_WINDOWS

        public static final OsType OS_WINDOWS
      • OS_AIX

        public static final OsType OS_AIX
      • OS_IRIX

        public static final OsType OS_IRIX
      • OS_HP_UX

        public static final OsType OS_HP_UX
      • OS_400

        public static final OsType OS_400
      • OS_FREE_BSD

        public static final OsType OS_FREE_BSD
      • OS_OPEN_BSD

        public static final OsType OS_OPEN_BSD
      • OS_NET_BSD

        public static final OsType OS_NET_BSD
      • OS_2

        public static final OsType OS_2
      • OS_SOLARIS

        public static final OsType OS_SOLARIS
      • OS_SUN

        public static final OsType OS_SUN
      • OS_MIPS

        public static final OsType OS_MIPS
      • OS_ZOS

        public static final OsType OS_ZOS
      • OS_UNKNOWN

        public static final OsType OS_UNKNOWN
    • Method Detail

      • values

        public static OsType[] 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 (OsType c : OsType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static OsType 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
      • getPrefix

        public String[] getPrefix()
      • isUnix

        public boolean isUnix()
      • osCase

        public static String osCase​(String upperCase,
                                    int from)