public final class NSFileCoordinatorReadingOptions
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static long |
ForUploading
Whether reading of an item is being done for the purpose of uploading.
|
static long |
ImmediatelyAvailableMetadataOnly
Whether the reading to be done will only attempt to get an item's metadata that is immediately available (name, modification date, tags, and other attributes), and not its contents.
|
static long |
ResolvesSymbolicLink
Whether reading of an item that might be a symbolic link file causes the resolution of the link if it is.
|
static long |
WithoutChanges
Whether reading does _not_ trigger sending of -savePresentedItemChangesWithCompletionHandler: to certain NSFilePresenters in the system and waiting for those NSFilePresenters to respond.
|
public static final long WithoutChanges
public static final long ResolvesSymbolicLink
public static final long ImmediatelyAvailableMetadataOnly
public static final long ForUploading
When using this option, you may upload the document outside of the accessor block. However, you should open a file descriptor to the file or relocate the file within the accessor block before you do so, because NSFileCoordinator will unlink the file after the block returns, rendering it inaccessible via the URL.