Class CoreFoundation



  • public class CoreFoundation
    extends java.lang.Object
    Native bindings to <CoreFoundation.h>.
    • Field Detail

      • kCFStringEncodingMacRoman

        public static final int kCFStringEncodingMacRoman
        Platform-independent built-in encodings; always available on all platforms.
        See Also:
        Constant Field Values
      • kCFStringEncodingWindowsLatin1

        public static final int kCFStringEncodingWindowsLatin1
        Platform-independent built-in encodings; always available on all platforms.
        See Also:
        Constant Field Values
      • kCFStringEncodingISOLatin1

        public static final int kCFStringEncodingISOLatin1
        Platform-independent built-in encodings; always available on all platforms.
        See Also:
        Constant Field Values
      • kCFStringEncodingNextStepLatin

        public static final int kCFStringEncodingNextStepLatin
        Platform-independent built-in encodings; always available on all platforms.
        See Also:
        Constant Field Values
      • kCFStringEncodingASCII

        public static final int kCFStringEncodingASCII
        Platform-independent built-in encodings; always available on all platforms.
        See Also:
        Constant Field Values
      • kCFStringEncodingUnicode

        public static final int kCFStringEncodingUnicode
        Platform-independent built-in encodings; always available on all platforms.
        See Also:
        Constant Field Values
      • kCFStringEncodingUTF8

        public static final int kCFStringEncodingUTF8
        Platform-independent built-in encodings; always available on all platforms.
        See Also:
        Constant Field Values
      • kCFStringEncodingNonLossyASCII

        public static final int kCFStringEncodingNonLossyASCII
        Platform-independent built-in encodings; always available on all platforms.
        See Also:
        Constant Field Values
      • kCFStringEncodingUTF16

        public static final int kCFStringEncodingUTF16
        Platform-independent built-in encodings; always available on all platforms.
        See Also:
        Constant Field Values
      • kCFStringEncodingUTF16BE

        public static final int kCFStringEncodingUTF16BE
        Platform-independent built-in encodings; always available on all platforms.
        See Also:
        Constant Field Values
      • kCFStringEncodingUTF16LE

        public static final int kCFStringEncodingUTF16LE
        Platform-independent built-in encodings; always available on all platforms.
        See Also:
        Constant Field Values
      • kCFStringEncodingUTF32

        public static final int kCFStringEncodingUTF32
        Platform-independent built-in encodings; always available on all platforms.
        See Also:
        Constant Field Values
      • kCFStringEncodingUTF32BE

        public static final int kCFStringEncodingUTF32BE
        Platform-independent built-in encodings; always available on all platforms.
        See Also:
        Constant Field Values
      • kCFStringEncodingUTF32LE

        public static final int kCFStringEncodingUTF32LE
        Platform-independent built-in encodings; always available on all platforms.
        See Also:
        Constant Field Values
      • kCFURLPOSIXPathStyle

        public static final int kCFURLPOSIXPathStyle
        URL path styles.
        See Also:
        Constant Field Values
      • kCFURLHFSPathStyle

        public static final int kCFURLHFSPathStyle
        URL path styles.
        See Also:
        Constant Field Values
      • kCFURLWindowsPathStyle

        public static final int kCFURLWindowsPathStyle
        URL path styles.
        See Also:
        Constant Field Values
      • kCFAllocatorDefault

        public static final long kCFAllocatorDefault
        This is a synonym for NULL, if you'd rather use a named constant.
      • kCFAllocatorSystemDefault

        public static final long kCFAllocatorSystemDefault
        Default system allocator; you rarely need to use this.
      • kCFAllocatorMalloc

        public static final long kCFAllocatorMalloc
        This allocator uses malloc(), realloc(), and free(). This should not be generally used; stick to CoreFoundation.kCFAllocatorDefault whenever possible. This allocator is useful as the "bytesDeallocator" in CFData or "contentsDeallocator" in CFString where the memory was obtained as a result of malloc() type functions.
      • kCFAllocatorMallocZone

        public static final long kCFAllocatorMallocZone
        This allocator explicitly uses the default malloc zone, returned by malloc_default_zone(). It should only be used when an object is safe to be allocated in non-scanned memory.
      • kCFAllocatorNull

        public static final long kCFAllocatorNull
        Null allocator which does nothing and allocates no memory. This allocator is useful as the "bytesDeallocator" in CFData or "contentsDeallocator" in CFString where the memory should not be freed.
      • kCFAllocatorUseContext

        public static final long kCFAllocatorUseContext
        Special allocator argument to CFAllocatorCreate which means "use the functions given in the context to allocate the allocator itself as well".