Enum 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 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 name
        java.lang.NullPointerException - if the argument is null