Class NSFileManagerItemReplacementOptions


  • public final class NSFileManagerItemReplacementOptions
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static 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.
      static long WithoutDeletingBackupItem
      NSFileManagerItemReplacementWithoutDeletingBackupItem causes -replaceItemAtURL:withItemAtURL:backupItemName:options:resultingItemURL:error: to leave the backup item in place after a successful replacement.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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