Enum EntryType

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<EntryType>

    public enum EntryType
    extends java.lang.Enum<EntryType>
    • Enum Constant Detail

      • DATA_FORK

        public static final EntryType DATA_FORK
      • RESOURCE_FORK

        public static final EntryType RESOURCE_FORK
      • REAL_NAME

        public static final EntryType REAL_NAME
      • COMMENT

        public static final EntryType COMMENT
      • ICON_BW

        public static final EntryType ICON_BW
      • ICON_COLOR

        public static final EntryType ICON_COLOR
      • FILE_INFO

        public static final EntryType FILE_INFO
      • FILE_DATES_INFO

        public static final EntryType FILE_DATES_INFO
      • FINDER_INFO

        public static final EntryType FINDER_INFO
      • MACINTOSH_FILE_INFO

        public static final EntryType MACINTOSH_FILE_INFO
      • PRODOS_FILE_INFO

        public static final EntryType PRODOS_FILE_INFO
      • MSDOS_FILE_INFO

        public static final EntryType MSDOS_FILE_INFO
      • SHORT_NAME

        public static final EntryType SHORT_NAME
      • AFP_FILE_INFO

        public static final EntryType AFP_FILE_INFO
      • DIRECTORY_ID

        public static final EntryType DIRECTORY_ID
    • Field Detail

      • entryId

        public final int entryId
      • name

        public final java.lang.String name
    • Method Detail

      • values

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

        public static EntryType valueOf​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • findNameOrUnknown

        public static final java.lang.String findNameOrUnknown​(Entry entry)
      • find

        public static final EntryType find​(int entryId)