Enum CFragLocatorKind
- java.lang.Object
-
- java.lang.Enum<CFragLocatorKind>
-
- ghidra.app.util.bin.format.macos.cfm.CFragLocatorKind
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<CFragLocatorKind>
public enum CFragLocatorKind extends java.lang.Enum<CFragLocatorKind>
Values for type CFragLocatorKind.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description kCFBundleCFragLocator
Container is in the executable of a CFBundle.kCFBundlePreCFragLocator
Passed to init routines in lieu of kCFBundleCFragLocator.kDataForkCFragLocator
Container is in a file's data fork.kMemoryCFragLocator
Container is in memory.kNamedFragmentCFragLocator
Reserved for possible future use.kResourceCFragLocator
Container is in a file's resource fork.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CFragLocatorKind
get(BinaryReader reader)
static CFragLocatorKind
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static CFragLocatorKind[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
kMemoryCFragLocator
public static final CFragLocatorKind kMemoryCFragLocator
Container is in memory.
-
kDataForkCFragLocator
public static final CFragLocatorKind kDataForkCFragLocator
Container is in a file's data fork.
-
kResourceCFragLocator
public static final CFragLocatorKind kResourceCFragLocator
Container is in a file's resource fork.
-
kNamedFragmentCFragLocator
public static final CFragLocatorKind kNamedFragmentCFragLocator
Reserved for possible future use.
-
kCFBundleCFragLocator
public static final CFragLocatorKind kCFBundleCFragLocator
Container is in the executable of a CFBundle.
-
kCFBundlePreCFragLocator
public static final CFragLocatorKind kCFBundlePreCFragLocator
Passed to init routines in lieu of kCFBundleCFragLocator.
-
-
Method Detail
-
values
public static CFragLocatorKind[] 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 (CFragLocatorKind c : CFragLocatorKind.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CFragLocatorKind 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
-
get
public static CFragLocatorKind get(BinaryReader reader) throws java.io.IOException
- Throws:
java.io.IOException
-
-