| Modifier and Type | Field and Description |
|---|---|
| public static final byte | FALSE
Boolean values. |
| public static final long | kCFAllocatorDefault
This is a synonym for |
| public static final long | kCFAllocatorMalloc
This allocator uses |
| public static final long | kCFAllocatorMallocZone
This allocator explicitly uses the default malloc zone, returned by |
| public static final long | kCFAllocatorNull
Null allocator which does nothing and allocates no memory. |
| public static final long | kCFAllocatorSystemDefault
Default system allocator; you rarely need to use this. |
| 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". |
| public static final int | kCFStringEncodingASCII
Platform-independent built-in encodings; always available on all platforms. |
| public static final int | kCFStringEncodingISOLatin1
Platform-independent built-in encodings; always available on all platforms. |
| public static final int | kCFStringEncodingMacRoman
Platform-independent built-in encodings; always available on all platforms. |
| public static final int | kCFStringEncodingNextStepLatin
Platform-independent built-in encodings; always available on all platforms. |
| public static final int | kCFStringEncodingNonLossyASCII
Platform-independent built-in encodings; always available on all platforms. |
| public static final int | kCFStringEncodingUnicode
Platform-independent built-in encodings; always available on all platforms. |
| public static final int | kCFStringEncodingUTF16
Platform-independent built-in encodings; always available on all platforms. |
| public static final int | kCFStringEncodingUTF16BE
Platform-independent built-in encodings; always available on all platforms. |
| public static final int | kCFStringEncodingUTF16LE
Platform-independent built-in encodings; always available on all platforms. |
| public static final int | kCFStringEncodingUTF32
Platform-independent built-in encodings; always available on all platforms. |
| public static final int | kCFStringEncodingUTF32BE
Platform-independent built-in encodings; always available on all platforms. |
| public static final int | kCFStringEncodingUTF32LE
Platform-independent built-in encodings; always available on all platforms. |
| public static final int | kCFStringEncodingUTF8
Platform-independent built-in encodings; always available on all platforms. |
| public static final int | kCFStringEncodingWindowsLatin1
Platform-independent built-in encodings; always available on all platforms. |
| public static final int | kCFURLHFSPathStyle
URL path styles. |
| public static final int | kCFURLPOSIXPathStyle
URL path styles. |
| public static final int | kCFURLWindowsPathStyle
URL path styles. |
| public static final byte | TRUE
Boolean values. |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description | |||
|---|---|---|---|---|
| public static long | CFBundleCreate(long
the allocator to use to allocate memory for the new object. Pass allocator, long NULL or kCFAllocatorDefault to use the current default allocator.the location of the bundle for which to create a bundleURL)CFBundle objectCreates a | |||
| public static long | CFBundleGetBundleWithIdentifier(long
the identifier of the bundle to locate. Note that identifier names are case-sensitive. bundleID)Locates a bundle given its program-defined identifier. | |||
| public static long | CFBundleGetFunctionPointerForName(long
the bundle to examine bundle, long the name of the function to locate functionName)Returns a pointer to a function in a bundle’s executable code using the function name as the search key. | |||
| public static void | ||||
| public static long | ||||
| public static long | CFStringCreateWithCString(long
the allocator to use to allocate memory for the new object. Pass allocator, ByteBuffer NULL or kCFAllocatorDefault to use the current default allocator.the cStr, int NULL-terminated C string to be used to create the CFString object. The string must use an 8-bit encoding.the encoding of the characters in the C string. The encoding must specify an 8-bit encoding. One of: encoding)Creates an immutable string from a C string. | |||
| public static long | CFStringCreateWithCStringNoCopy(long
the allocator to use to allocate memory for the new object. Pass allocator, ByteBuffer NULL or kCFAllocatorDefault to use the current default allocator.the cStr, int NULL-terminated C string to be used to create the CFString object. The string must use an 8-bit encoding.the encoding of the characters in the C string. The encoding must specify an 8-bit encoding. One of: encoding, long the contentsDeallocator)CFAllocator object to use to deallocate the external string buffer when it is no longer needed. You can pass NULL or
kCFAllocatorDefault to request the default allocator for this purpose. If the buffer does not need to be deallocated, or if you want to
assume responsibility for deallocating the buffer (and not have the CFString object deallocate it), pass kCFAllocatorNull.Creates a CFString object from an external C string buffer that might serve as the backing store for the object. | |||
| public static long | CFURLCreateWithFileSystemPath(long
the allocator to use to allocate memory for the new object. Pass allocator, long NULL or kCFAllocatorDefault to use the current default allocator.the path string to convert to a filePath, long CFURL object. If filePath is not absolute, the resulting URL will be considered relative to the
current working directory (evaluated when this function is being invoked).the operating system path style used in pathStyle, boolean filePath. One of:
a Boolean value that specifies whether filePath is treated as a directory path when resolving against relative path components. Pass true if the
pathname indicates a directory, false otherwise. isDirectory)Creates a | |||
| private static native long | ||||
| private static native long | ||||
| private static native long | ||||
| private static native long | ||||
| private static native long | ||||
| private static native long | ||||
| public static native long | ||||
| public static native long | ||||
| public static native long | nCFBundleGetFunctionPointerForName(long bundle, long functionName)
Unsafe version of: | |||
| public static native void | ||||
| public static native long | ||||
| public static native long | nCFStringCreateWithCString(long allocator, long cStr, int encoding)
Unsafe version of: | |||
| public static native long | nCFStringCreateWithCStringNoCopy(long allocator, long cStr, int encoding, long contentsDeallocator)
Unsafe version of: | |||
| public static native long | nCFURLCreateWithFileSystemPath(long allocator, long filePath, long pathStyle, boolean isDirectory)
Unsafe version of: |
| FALSE | back to summary |
|---|---|
| public static final byte FALSE Boolean values. | |
| kCFAllocatorDefault | back to summary |
|---|---|
| public static final long kCFAllocatorDefault This is a synonym for | |
| kCFAllocatorMalloc | back to summary |
|---|---|
| public static final long kCFAllocatorMalloc This allocator uses | |
| kCFAllocatorMallocZone | back to summary |
|---|---|
| public static final long kCFAllocatorMallocZone This allocator explicitly uses the default malloc zone, returned by | |
| kCFAllocatorNull | back to summary |
|---|---|
| public static final long kCFAllocatorNull Null allocator which does nothing and allocates no memory. This allocator is useful as the "bytesDeallocator" in | |
| kCFAllocatorSystemDefault | back to summary |
|---|---|
| public static final long kCFAllocatorSystemDefault Default system allocator; you rarely need to use this. | |
| kCFAllocatorUseContext | back to summary |
|---|---|
| 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". | |
| kCFStringEncodingASCII | back to summary |
|---|---|
| public static final int kCFStringEncodingASCII Platform-independent built-in encodings; always available on all platforms. | |
| kCFStringEncodingISOLatin1 | back to summary |
|---|---|
| public static final int kCFStringEncodingISOLatin1 Platform-independent built-in encodings; always available on all platforms. | |
| kCFStringEncodingMacRoman | back to summary |
|---|---|
| public static final int kCFStringEncodingMacRoman Platform-independent built-in encodings; always available on all platforms. | |
| kCFStringEncodingNextStepLatin | back to summary |
|---|---|
| public static final int kCFStringEncodingNextStepLatin Platform-independent built-in encodings; always available on all platforms. | |
| kCFStringEncodingNonLossyASCII | back to summary |
|---|---|
| public static final int kCFStringEncodingNonLossyASCII Platform-independent built-in encodings; always available on all platforms. | |
| kCFStringEncodingUnicode | back to summary |
|---|---|
| public static final int kCFStringEncodingUnicode Platform-independent built-in encodings; always available on all platforms. | |
| kCFStringEncodingUTF16 | back to summary |
|---|---|
| public static final int kCFStringEncodingUTF16 Platform-independent built-in encodings; always available on all platforms. | |
| kCFStringEncodingUTF16BE | back to summary |
|---|---|
| public static final int kCFStringEncodingUTF16BE Platform-independent built-in encodings; always available on all platforms. | |
| kCFStringEncodingUTF16LE | back to summary |
|---|---|
| public static final int kCFStringEncodingUTF16LE Platform-independent built-in encodings; always available on all platforms. | |
| kCFStringEncodingUTF32 | back to summary |
|---|---|
| public static final int kCFStringEncodingUTF32 Platform-independent built-in encodings; always available on all platforms. | |
| kCFStringEncodingUTF32BE | back to summary |
|---|---|
| public static final int kCFStringEncodingUTF32BE Platform-independent built-in encodings; always available on all platforms. | |
| kCFStringEncodingUTF32LE | back to summary |
|---|---|
| public static final int kCFStringEncodingUTF32LE Platform-independent built-in encodings; always available on all platforms. | |
| kCFStringEncodingUTF8 | back to summary |
|---|---|
| public static final int kCFStringEncodingUTF8 Platform-independent built-in encodings; always available on all platforms. | |
| kCFStringEncodingWindowsLatin1 | back to summary |
|---|---|
| public static final int kCFStringEncodingWindowsLatin1 Platform-independent built-in encodings; always available on all platforms. | |
| kCFURLHFSPathStyle | back to summary |
|---|---|
| public static final int kCFURLHFSPathStyle URL path styles. | |
| kCFURLPOSIXPathStyle | back to summary |
|---|---|
| public static final int kCFURLPOSIXPathStyle URL path styles. | |
| kCFURLWindowsPathStyle | back to summary |
|---|---|
| public static final int kCFURLWindowsPathStyle URL path styles. | |
| TRUE | back to summary |
|---|---|
| public static final byte TRUE Boolean values. | |
| CoreFoundation | back to summary |
|---|---|
| protected CoreFoundation() | |
| CFBundleCreate | back to summary |
|---|---|
| public static long CFBundleCreate(long allocator, long bundleURL) Creates a
| |
| CFBundleGetBundleWithIdentifier | back to summary |
|---|---|
| public static long CFBundleGetBundleWithIdentifier(long bundleID) Locates a bundle given its program-defined identifier.
| |
| CFBundleGetFunctionPointerForName | back to summary |
|---|---|
| public static long CFBundleGetFunctionPointerForName(long bundle, long functionName) Returns a pointer to a function in a bundle’s executable code using the function name as the search key.
| |
| CFRelease | back to summary |
|---|---|
| public static void CFRelease(long cf) Releases a Core Foundation object. If the retain count of
| |
| CFRetain | back to summary |
|---|---|
| public static long CFRetain(long cf) Retains a Core Foundation object. You should retain a Core Foundation object when you receive it from elsewhere (that is, you did not create or copy it) and you want it to persist. If you retain a Core Foundation object you are responsible for releasing it.
| |
| CFStringCreateWithCString | back to summary |
|---|---|
| public static long CFStringCreateWithCString(long allocator, ByteBuffer cStr, int encoding) Creates an immutable string from a C string.
| |
| CFStringCreateWithCStringNoCopy | back to summary |
|---|---|
| public static long CFStringCreateWithCStringNoCopy(long allocator, ByteBuffer cStr, int encoding, long contentsDeallocator) Creates a CFString object from an external C string buffer that might serve as the backing store for the object.
| |
| CFURLCreateWithFileSystemPath | back to summary | |||
|---|---|---|---|---|
| public static long CFURLCreateWithFileSystemPath(long allocator, long filePath, long pathStyle, boolean isDirectory) Creates a
| ||||
| kCFAllocatorDefault | back to summary |
|---|---|
private static native long kCFAllocatorDefault()
| |
| kCFAllocatorMalloc | back to summary |
|---|---|
private static native long kCFAllocatorMalloc()
| |
| kCFAllocatorMallocZone | back to summary |
|---|---|
private static native long kCFAllocatorMallocZone()
| |
| kCFAllocatorNull | back to summary |
|---|---|
private static native long kCFAllocatorNull()
| |
| kCFAllocatorSystemDefault | back to summary |
|---|---|
private static native long kCFAllocatorSystemDefault()
| |
| kCFAllocatorUseContext | back to summary |
|---|---|
private static native long kCFAllocatorUseContext()
| |
| nCFBundleCreate | back to summary |
|---|---|
| public static native long nCFBundleCreate(long allocator, long bundleURL) Unsafe version of: | |
| nCFBundleGetBundleWithIdentifier | back to summary |
|---|---|
| public static native long nCFBundleGetBundleWithIdentifier(long bundleID) Unsafe version of: | |
| nCFBundleGetFunctionPointerForName | back to summary |
|---|---|
| public static native long nCFBundleGetFunctionPointerForName(long bundle, long functionName) Unsafe version of: | |
| nCFRelease | back to summary |
|---|---|
| public static native void nCFRelease(long cf) Unsafe version of: | |
| nCFRetain | back to summary |
|---|---|
| public static native long nCFRetain(long cf) Unsafe version of: | |
| nCFStringCreateWithCString | back to summary |
|---|---|
| public static native long nCFStringCreateWithCString(long allocator, long cStr, int encoding) Unsafe version of: | |
| nCFStringCreateWithCStringNoCopy | back to summary |
|---|---|
| public static native long nCFStringCreateWithCStringNoCopy(long allocator, long cStr, int encoding, long contentsDeallocator) Unsafe version of: | |
| nCFURLCreateWithFileSystemPath | back to summary |
|---|---|
| public static native long nCFURLCreateWithFileSystemPath(long allocator, long filePath, long pathStyle, boolean isDirectory) Unsafe version of: | |