Enum Platform

  • All Implemented Interfaces:
    Serializable, Comparable<Platform>

    public enum Platform
    extends Enum<Platform>

    The original platform that created the given ZIP archive.

    Since:
    2017.2.4, 2018.1
    Author:
    Andrey Shcheglov <mailto:andrey.shcheglov@jetbrains.com>
    • Enum Constant Detail

      • DOS

        public static final Platform DOS

        MS-DOS and OS/2 (FAT/VFAT/FAT32 file systems).

      • AMIGA

        public static final Platform AMIGA

        Amiga.

      • VMS

        public static final Platform VMS

        VAX/VMS a.k.a OpenVMS.

      • UNIX

        public static final Platform UNIX

        UNIX.

      • VM_CMS

        public static final Platform VM_CMS

        IBM VM/CMS.

      • ATARI

        public static final Platform ATARI

        Atari ST.

      • HPFS

        public static final Platform HPFS

        OS/2 HPFS.

      • MACINTOSH

        public static final Platform MACINTOSH

        Macintosh.

      • Z_SYSTEM

        public static final Platform Z_SYSTEM

        Z-System.

      • CP_M

        public static final Platform CP_M

        CP/M.

      • TOPS_20

        public static final Platform TOPS_20

        TOPS-20.

      • WINDOWS_NT

        public static final Platform WINDOWS_NT

        Windows NT (NTFS).

      • SMS_QDOS

        public static final Platform SMS_QDOS

        SMS/QDOS.

      • ACORN

        public static final Platform ACORN

        Acorn RISC OS.

      • WINDOWS_9X

        public static final Platform WINDOWS_9X

        Windows 9x (VFAT).

      • MVS

        public static final Platform MVS

        MVS.

      • BEOS

        public static final Platform BEOS

        BeOS.

      • TANDEM

        public static final Platform TANDEM

        Tandem.

      • OS_400

        public static final Platform OS_400

        OS/400.

      • OS_X

        public static final Platform OS_X

        OS X (Darwin).

    • Method Detail

      • values

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

        public static Platform 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