Package apple.foundation.enums
Class NSFileManagerItemReplacementOptions
- java.lang.Object
-
- apple.foundation.enums.NSFileManagerItemReplacementOptions
-
public final class NSFileManagerItemReplacementOptions extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static longUsingNewMetadataOnlyNSFileManagerItemReplacementUsingNewMetadataOnly causes -replaceItemAtURL:withItemAtURL:backupItemName:options:resultingItemURL:error: to use metadata from the new item only and not to attempt to preserve metadata from the original item.static longWithoutDeletingBackupItemNSFileManagerItemReplacementWithoutDeletingBackupItem causes -replaceItemAtURL:withItemAtURL:backupItemName:options:resultingItemURL:error: to leave the backup item in place after a successful replacement.
-
-
-
Field Detail
-
UsingNewMetadataOnly
public static final long UsingNewMetadataOnly
NSFileManagerItemReplacementUsingNewMetadataOnly causes -replaceItemAtURL:withItemAtURL:backupItemName:options:resultingItemURL:error: to use metadata from the new item only and not to attempt to preserve metadata from the original item.- See Also:
- Constant Field Values
-
WithoutDeletingBackupItem
public static final long WithoutDeletingBackupItem
NSFileManagerItemReplacementWithoutDeletingBackupItem causes -replaceItemAtURL:withItemAtURL:backupItemName:options:resultingItemURL:error: to leave the backup item in place after a successful replacement. The default behavior is to remove the item.- See Also:
- Constant Field Values
-
-