Class NSFileVersionAddingOptions


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

      Fields 
      Modifier and Type Field Description
      static long NSFileVersionAddingByMoving
      Whether +addVersionOfItemAtURL:withContentsOfURL:options:error: can move the new version contents file into the version store instead of copying it.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • NSFileVersionAddingByMoving

        public static final long NSFileVersionAddingByMoving
        Whether +addVersionOfItemAtURL:withContentsOfURL:options:error: can move the new version contents file into the version store instead of copying it. Moving is much faster. See the comment for -temporaryDirectoryURLForNewVersionOfItemAtURL: for an example of when this useful.
        See Also:
        Constant Field Values