public interface NSFileManagerDelegate
| Modifier and Type | Method and Description |
|---|---|
default boolean |
fileManagerShouldCopyItemAtPathToPath(NSFileManager fileManager,
java.lang.String srcPath,
java.lang.String dstPath)
fileManager:shouldCopyItemAtPath:toPath: gives the delegate an opportunity to filter the resulting copy.
|
default boolean |
fileManagerShouldCopyItemAtURLToURL(NSFileManager fileManager,
NSURL srcURL,
NSURL dstURL) |
default boolean |
fileManagerShouldLinkItemAtPathToPath(NSFileManager fileManager,
java.lang.String srcPath,
java.lang.String dstPath)
fileManager:shouldLinkItemAtPath:toPath: acts as the other "should" methods, but this applies to the file manager creating hard links to the files in question.
|
default boolean |
fileManagerShouldLinkItemAtURLToURL(NSFileManager fileManager,
NSURL srcURL,
NSURL dstURL) |
default boolean |
fileManagerShouldMoveItemAtPathToPath(NSFileManager fileManager,
java.lang.String srcPath,
java.lang.String dstPath)
fileManager:shouldMoveItemAtPath:toPath: gives the delegate an opportunity to not move the item at the specified path.
|
default boolean |
fileManagerShouldMoveItemAtURLToURL(NSFileManager fileManager,
NSURL srcURL,
NSURL dstURL) |
default boolean |
fileManagerShouldProceedAfterErrorCopyingItemAtPathToPath(NSFileManager fileManager,
NSError error,
java.lang.String srcPath,
java.lang.String dstPath)
fileManager:shouldProceedAfterError:copyingItemAtPath:toPath: gives the delegate an opportunity to recover from or continue copying after an error.
|
default boolean |
fileManagerShouldProceedAfterErrorCopyingItemAtURLToURL(NSFileManager fileManager,
NSError error,
NSURL srcURL,
NSURL dstURL) |
default boolean |
fileManagerShouldProceedAfterErrorLinkingItemAtPathToPath(NSFileManager fileManager,
NSError error,
java.lang.String srcPath,
java.lang.String dstPath)
fileManager:shouldProceedAfterError:linkingItemAtPath:toPath: allows the delegate an opportunity to remedy the error which occurred in linking srcPath to dstPath.
|
default boolean |
fileManagerShouldProceedAfterErrorLinkingItemAtURLToURL(NSFileManager fileManager,
NSError error,
NSURL srcURL,
NSURL dstURL) |
default boolean |
fileManagerShouldProceedAfterErrorMovingItemAtPathToPath(NSFileManager fileManager,
NSError error,
java.lang.String srcPath,
java.lang.String dstPath)
fileManager:shouldProceedAfterError:movingItemAtPath:toPath: functions much like fileManager:shouldProceedAfterError:copyingItemAtPath:toPath: above.
|
default boolean |
fileManagerShouldProceedAfterErrorMovingItemAtURLToURL(NSFileManager fileManager,
NSError error,
NSURL srcURL,
NSURL dstURL) |
default boolean |
fileManagerShouldProceedAfterErrorRemovingItemAtPath(NSFileManager fileManager,
NSError error,
java.lang.String path)
fileManager:shouldProceedAfterError:removingItemAtPath: allows the delegate an opportunity to remedy the error which occurred in removing the item at the path provided.
|
default boolean |
fileManagerShouldProceedAfterErrorRemovingItemAtURL(NSFileManager fileManager,
NSError error,
NSURL URL) |
default boolean |
fileManagerShouldRemoveItemAtPath(NSFileManager fileManager,
java.lang.String path)
fileManager:shouldRemoveItemAtPath: allows the delegate the opportunity to not remove the item at path.
|
default boolean |
fileManagerShouldRemoveItemAtURL(NSFileManager fileManager,
NSURL URL) |
default boolean fileManagerShouldCopyItemAtPathToPath(NSFileManager fileManager, java.lang.String srcPath, java.lang.String dstPath)
If the delegate does not implement this method, the NSFileManager instance acts as if this method returned YES.
default boolean fileManagerShouldCopyItemAtURLToURL(NSFileManager fileManager, NSURL srcURL, NSURL dstURL)
default boolean fileManagerShouldLinkItemAtPathToPath(NSFileManager fileManager, java.lang.String srcPath, java.lang.String dstPath)
If the delegate does not implement this method, the NSFileManager instance acts as if this method returned YES.
default boolean fileManagerShouldLinkItemAtURLToURL(NSFileManager fileManager, NSURL srcURL, NSURL dstURL)
default boolean fileManagerShouldMoveItemAtPathToPath(NSFileManager fileManager, java.lang.String srcPath, java.lang.String dstPath)
If the delegate does not implement this method, the NSFileManager instance acts as if this method returned YES.
default boolean fileManagerShouldMoveItemAtURLToURL(NSFileManager fileManager, NSURL srcURL, NSURL dstURL)
default boolean fileManagerShouldProceedAfterErrorCopyingItemAtPathToPath(NSFileManager fileManager, NSError error, java.lang.String srcPath, java.lang.String dstPath)
If the delegate does not implement this method, the NSFileManager instance acts as if this method returned NO.
default boolean fileManagerShouldProceedAfterErrorCopyingItemAtURLToURL(NSFileManager fileManager, NSError error, NSURL srcURL, NSURL dstURL)
default boolean fileManagerShouldProceedAfterErrorLinkingItemAtPathToPath(NSFileManager fileManager, NSError error, java.lang.String srcPath, java.lang.String dstPath)
If the delegate does not implement this method, the NSFileManager instance acts as if this method returned NO.
default boolean fileManagerShouldProceedAfterErrorLinkingItemAtURLToURL(NSFileManager fileManager, NSError error, NSURL srcURL, NSURL dstURL)
default boolean fileManagerShouldProceedAfterErrorMovingItemAtPathToPath(NSFileManager fileManager, NSError error, java.lang.String srcPath, java.lang.String dstPath)
If the delegate does not implement this method, the NSFileManager instance acts as if this method returned NO.
default boolean fileManagerShouldProceedAfterErrorMovingItemAtURLToURL(NSFileManager fileManager, NSError error, NSURL srcURL, NSURL dstURL)
default boolean fileManagerShouldProceedAfterErrorRemovingItemAtPath(NSFileManager fileManager, NSError error, java.lang.String path)
If the delegate does not implement this method, the NSFileManager instance acts as if this method returned NO.
default boolean fileManagerShouldProceedAfterErrorRemovingItemAtURL(NSFileManager fileManager, NSError error, NSURL URL)
default boolean fileManagerShouldRemoveItemAtPath(NSFileManager fileManager, java.lang.String path)
If the delegate does not implement this method, the NSFileManager instance acts as if this method returned YES.
default boolean fileManagerShouldRemoveItemAtURL(NSFileManager fileManager, NSURL URL)