Enum EntryType
- java.lang.Object
-
- java.lang.Enum<EntryType>
-
- io.github.applecommander.applesingle.EntryType
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AFP_FILE_INFOCOMMENTDATA_FORKDIRECTORY_IDFILE_DATES_INFOFILE_INFOFINDER_INFOICON_BWICON_COLORMACINTOSH_FILE_INFOMSDOS_FILE_INFOPRODOS_FILE_INFOREAL_NAMERESOURCE_FORKSHORT_NAME
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EntryTypefind(int entryId)static java.lang.StringfindNameOrUnknown(Entry entry)static EntryTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static EntryType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
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
-
-
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 namejava.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)
-
-