org.rococoa.cocoa.foundation.categories
Interface NSFileManagerFileOperationAdditions

All Superinterfaces:
ObjCObject

public interface NSFileManagerFileOperationAdditions
extends ObjCObject

This file was autogenerated by JNAerator,
a tool written by Olivier Chafik that uses a few opensource projects..
For help, please visit NativeLibs4Java, Rococoa, or JNA.


Nested Class Summary
static interface NSFileManagerFileOperationAdditions._static_
           
 
Method Summary
 boolean fileManager_shouldCopyItemAtPath_toPath(NSFileManager fileManager, NSString srcPath, NSString dstPath)
          fileManager:shouldCopyItemAtPath:toPath: gives the delegate an opportunity to filter the resulting copy.
 boolean fileManager_shouldCopyItemAtURL_toURL(NSFileManager fileManager, NSURL srcURL, NSURL dstURL)
          Original signature : -(BOOL)fileManager:(NSFileManager*) shouldCopyItemAtURL:(NSURL*) toURL:(NSURL*)
from NSFileManagerFileOperationAdditions native declaration : NSFileManager.h:262
 boolean fileManager_shouldLinkItemAtPath_toPath(NSFileManager fileManager, NSString srcPath, NSString 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.
 boolean fileManager_shouldLinkItemAtURL_toURL(NSFileManager fileManager, NSURL srcURL, NSURL dstURL)
          Original signature : -(BOOL)fileManager:(NSFileManager*) shouldLinkItemAtURL:(NSURL*) toURL:(NSURL*)
from NSFileManagerFileOperationAdditions native declaration : NSFileManager.h:290
 boolean fileManager_shouldMoveItemAtPath_toPath(NSFileManager fileManager, NSString srcPath, NSString dstPath)
          fileManager:shouldMoveItemAtPath:toPath: gives the delegate an opportunity to not move the item at the specified path.
 boolean fileManager_shouldMoveItemAtURL_toURL(NSFileManager fileManager, NSURL srcURL, NSURL dstURL)
          Original signature : -(BOOL)fileManager:(NSFileManager*) shouldMoveItemAtURL:(NSURL*) toURL:(NSURL*)
from NSFileManagerFileOperationAdditions native declaration : NSFileManager.h:276
 boolean fileManager_shouldProceedAfterError_copyingItemAtPath_toPath(NSFileManager fileManager, NSError error, NSString srcPath, NSString dstPath)
          fileManager:shouldProceedAfterError:copyingItemAtPath:toPath: gives the delegate an opportunity to recover from or continue copying after an error.
 boolean fileManager_shouldProceedAfterError_copyingItemAtURL_toURL(NSFileManager fileManager, NSError error, NSURL srcURL, NSURL dstURL)
          Original signature : -(BOOL)fileManager:(NSFileManager*) shouldProceedAfterError:(NSError*) copyingItemAtURL:(NSURL*) toURL:(NSURL*)
from NSFileManagerFileOperationAdditions native declaration : NSFileManager.h:269
 boolean fileManager_shouldProceedAfterError_linkingItemAtPath_toPath(NSFileManager fileManager, NSError error, NSString srcPath, NSString dstPath)
          fileManager:shouldProceedAfterError:linkingItemAtPath:toPath: allows the delegate an opportunity to remedy the error which occurred in linking srcPath to dstPath.
 boolean fileManager_shouldProceedAfterError_linkingItemAtURL_toURL(NSFileManager fileManager, NSError error, NSURL srcURL, NSURL dstURL)
          Original signature : -(BOOL)fileManager:(NSFileManager*) shouldProceedAfterError:(NSError*) linkingItemAtURL:(NSURL*) toURL:(NSURL*)
from NSFileManagerFileOperationAdditions native declaration : NSFileManager.h:297
 boolean fileManager_shouldProceedAfterError_movingItemAtPath_toPath(NSFileManager fileManager, NSError error, NSString srcPath, NSString dstPath)
          fileManager:shouldProceedAfterError:movingItemAtPath:toPath: functions much like fileManager:shouldProceedAfterError:copyingItemAtPath:toPath: above.
 boolean fileManager_shouldProceedAfterError_movingItemAtURL_toURL(NSFileManager fileManager, NSError error, NSURL srcURL, NSURL dstURL)
          Original signature : -(BOOL)fileManager:(NSFileManager*) shouldProceedAfterError:(NSError*) movingItemAtURL:(NSURL*) toURL:(NSURL*)
from NSFileManagerFileOperationAdditions native declaration : NSFileManager.h:283
 boolean fileManager_shouldProceedAfterError_removingItemAtPath(NSFileManager fileManager, NSError error, NSString path)
          fileManager:shouldProceedAfterError:removingItemAtPath: allows the delegate an opportunity to remedy the error which occurred in removing the item at the path provided.
 boolean fileManager_shouldProceedAfterError_removingItemAtURL(NSFileManager fileManager, NSError error, NSURL URL)
          Original signature : -(BOOL)fileManager:(NSFileManager*) shouldProceedAfterError:(NSError*) removingItemAtURL:(NSURL*)
from NSFileManagerFileOperationAdditions native declaration : NSFileManager.h:311
 boolean fileManager_shouldRemoveItemAtPath(NSFileManager fileManager, NSString path)
          fileManager:shouldRemoveItemAtPath: allows the delegate the opportunity to not remove the item at path.
 boolean fileManager_shouldRemoveItemAtURL(NSFileManager fileManager, NSURL URL)
          Original signature : -(BOOL)fileManager:(NSFileManager*) shouldRemoveItemAtURL:(NSURL*)
from NSFileManagerFileOperationAdditions native declaration : NSFileManager.h:304
 
Methods inherited from interface org.rococoa.ObjCObject
id
 

Method Detail

fileManager_shouldCopyItemAtPath_toPath

boolean fileManager_shouldCopyItemAtPath_toPath(NSFileManager fileManager,
                                                NSString srcPath,
                                                NSString dstPath)
fileManager:shouldCopyItemAtPath:toPath: gives the delegate an opportunity to filter the resulting copy. Returning YES from this method will allow the copy to happen. Returning NO from this method causes the item in question to be skipped. If the item skipped was a directory, no children of that directory will be copied, nor will the delegate be notified of those children.
If the delegate does not implement this method, the NSFileManager instance acts as if this method returned YES.
Original signature : -(BOOL)fileManager:(NSFileManager*) shouldCopyItemAtPath:(NSString*) toPath:(NSString*)
from NSFileManagerFileOperationAdditions native declaration : NSFileManager.h:261


fileManager_shouldCopyItemAtURL_toURL

boolean fileManager_shouldCopyItemAtURL_toURL(NSFileManager fileManager,
                                              NSURL srcURL,
                                              NSURL dstURL)
Original signature : -(BOOL)fileManager:(NSFileManager*) shouldCopyItemAtURL:(NSURL*) toURL:(NSURL*)
from NSFileManagerFileOperationAdditions native declaration : NSFileManager.h:262


fileManager_shouldProceedAfterError_copyingItemAtPath_toPath

boolean fileManager_shouldProceedAfterError_copyingItemAtPath_toPath(NSFileManager fileManager,
                                                                     NSError error,
                                                                     NSString srcPath,
                                                                     NSString dstPath)
fileManager:shouldProceedAfterError:copyingItemAtPath:toPath: gives the delegate an opportunity to recover from or continue copying after an error. If an error occurs, the error object will contain an NSError indicating the problem. The source path and destination paths are also provided. If this method returns YES, the NSFileManager instance will continue as if the error had not occurred. If this method returns NO, the NSFileManager instance will stop copying, return NO from copyItemAtPath:toPath:error: and the error will be provied there.
If the delegate does not implement this method, the NSFileManager instance acts as if this method returned NO.
Original signature : -(BOOL)fileManager:(NSFileManager*) shouldProceedAfterError:(NSError*) copyingItemAtPath:(NSString*) toPath:(NSString*)
from NSFileManagerFileOperationAdditions native declaration : NSFileManager.h:268


fileManager_shouldProceedAfterError_copyingItemAtURL_toURL

boolean fileManager_shouldProceedAfterError_copyingItemAtURL_toURL(NSFileManager fileManager,
                                                                   NSError error,
                                                                   NSURL srcURL,
                                                                   NSURL dstURL)
Original signature : -(BOOL)fileManager:(NSFileManager*) shouldProceedAfterError:(NSError*) copyingItemAtURL:(NSURL*) toURL:(NSURL*)
from NSFileManagerFileOperationAdditions native declaration : NSFileManager.h:269


fileManager_shouldMoveItemAtPath_toPath

boolean fileManager_shouldMoveItemAtPath_toPath(NSFileManager fileManager,
                                                NSString srcPath,
                                                NSString dstPath)
fileManager:shouldMoveItemAtPath:toPath: gives the delegate an opportunity to not move the item at the specified path. If the source path and the destination path are not on the same device, a copy is performed to the destination path and the original is removed. If the copy does not succeed, an error is returned and the incomplete copy is removed, leaving the original in place.
If the delegate does not implement this method, the NSFileManager instance acts as if this method returned YES.
Original signature : -(BOOL)fileManager:(NSFileManager*) shouldMoveItemAtPath:(NSString*) toPath:(NSString*)
from NSFileManagerFileOperationAdditions native declaration : NSFileManager.h:275


fileManager_shouldMoveItemAtURL_toURL

boolean fileManager_shouldMoveItemAtURL_toURL(NSFileManager fileManager,
                                              NSURL srcURL,
                                              NSURL dstURL)
Original signature : -(BOOL)fileManager:(NSFileManager*) shouldMoveItemAtURL:(NSURL*) toURL:(NSURL*)
from NSFileManagerFileOperationAdditions native declaration : NSFileManager.h:276


fileManager_shouldProceedAfterError_movingItemAtPath_toPath

boolean fileManager_shouldProceedAfterError_movingItemAtPath_toPath(NSFileManager fileManager,
                                                                    NSError error,
                                                                    NSString srcPath,
                                                                    NSString dstPath)
fileManager:shouldProceedAfterError:movingItemAtPath:toPath: functions much like fileManager:shouldProceedAfterError:copyingItemAtPath:toPath: above. The delegate has the opportunity to remedy the error condition and allow the move to continue.
If the delegate does not implement this method, the NSFileManager instance acts as if this method returned NO.
Original signature : -(BOOL)fileManager:(NSFileManager*) shouldProceedAfterError:(NSError*) movingItemAtPath:(NSString*) toPath:(NSString*)
from NSFileManagerFileOperationAdditions native declaration : NSFileManager.h:282


fileManager_shouldProceedAfterError_movingItemAtURL_toURL

boolean fileManager_shouldProceedAfterError_movingItemAtURL_toURL(NSFileManager fileManager,
                                                                  NSError error,
                                                                  NSURL srcURL,
                                                                  NSURL dstURL)
Original signature : -(BOOL)fileManager:(NSFileManager*) shouldProceedAfterError:(NSError*) movingItemAtURL:(NSURL*) toURL:(NSURL*)
from NSFileManagerFileOperationAdditions native declaration : NSFileManager.h:283


fileManager_shouldLinkItemAtPath_toPath

boolean fileManager_shouldLinkItemAtPath_toPath(NSFileManager fileManager,
                                                NSString srcPath,
                                                NSString 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.
If the delegate does not implement this method, the NSFileManager instance acts as if this method returned YES.
Original signature : -(BOOL)fileManager:(NSFileManager*) shouldLinkItemAtPath:(NSString*) toPath:(NSString*)
from NSFileManagerFileOperationAdditions native declaration : NSFileManager.h:289


fileManager_shouldLinkItemAtURL_toURL

boolean fileManager_shouldLinkItemAtURL_toURL(NSFileManager fileManager,
                                              NSURL srcURL,
                                              NSURL dstURL)
Original signature : -(BOOL)fileManager:(NSFileManager*) shouldLinkItemAtURL:(NSURL*) toURL:(NSURL*)
from NSFileManagerFileOperationAdditions native declaration : NSFileManager.h:290


fileManager_shouldProceedAfterError_linkingItemAtPath_toPath

boolean fileManager_shouldProceedAfterError_linkingItemAtPath_toPath(NSFileManager fileManager,
                                                                     NSError error,
                                                                     NSString srcPath,
                                                                     NSString dstPath)
fileManager:shouldProceedAfterError:linkingItemAtPath:toPath: allows the delegate an opportunity to remedy the error which occurred in linking srcPath to dstPath. If the delegate returns YES from this method, the linking will continue. If the delegate returns NO from this method, the linking operation will stop and the error will be returned via linkItemAtPath:toPath:error:.
If the delegate does not implement this method, the NSFileManager instance acts as if this method returned NO.
Original signature : -(BOOL)fileManager:(NSFileManager*) shouldProceedAfterError:(NSError*) linkingItemAtPath:(NSString*) toPath:(NSString*)
from NSFileManagerFileOperationAdditions native declaration : NSFileManager.h:296


fileManager_shouldProceedAfterError_linkingItemAtURL_toURL

boolean fileManager_shouldProceedAfterError_linkingItemAtURL_toURL(NSFileManager fileManager,
                                                                   NSError error,
                                                                   NSURL srcURL,
                                                                   NSURL dstURL)
Original signature : -(BOOL)fileManager:(NSFileManager*) shouldProceedAfterError:(NSError*) linkingItemAtURL:(NSURL*) toURL:(NSURL*)
from NSFileManagerFileOperationAdditions native declaration : NSFileManager.h:297


fileManager_shouldRemoveItemAtPath

boolean fileManager_shouldRemoveItemAtPath(NSFileManager fileManager,
                                           NSString path)
fileManager:shouldRemoveItemAtPath: allows the delegate the opportunity to not remove the item at path. If the delegate returns YES from this method, the NSFileManager instance will attempt to remove the item. If the delegate returns NO from this method, the remove skips the item. If the item is a directory, no children of that item will be visited.
If the delegate does not implement this method, the NSFileManager instance acts as if this method returned YES.
Original signature : -(BOOL)fileManager:(NSFileManager*) shouldRemoveItemAtPath:(NSString*)
from NSFileManagerFileOperationAdditions native declaration : NSFileManager.h:303


fileManager_shouldRemoveItemAtURL

boolean fileManager_shouldRemoveItemAtURL(NSFileManager fileManager,
                                          NSURL URL)
Original signature : -(BOOL)fileManager:(NSFileManager*) shouldRemoveItemAtURL:(NSURL*)
from NSFileManagerFileOperationAdditions native declaration : NSFileManager.h:304


fileManager_shouldProceedAfterError_removingItemAtPath

boolean fileManager_shouldProceedAfterError_removingItemAtPath(NSFileManager fileManager,
                                                               NSError error,
                                                               NSString path)
fileManager:shouldProceedAfterError:removingItemAtPath: allows the delegate an opportunity to remedy the error which occurred in removing the item at the path provided. If the delegate returns YES from this method, the removal operation will continue. If the delegate returns NO from this method, the removal operation will stop and the error will be returned via linkItemAtPath:toPath:error:.
If the delegate does not implement this method, the NSFileManager instance acts as if this method returned NO.
Original signature : -(BOOL)fileManager:(NSFileManager*) shouldProceedAfterError:(NSError*) removingItemAtPath:(NSString*)
from NSFileManagerFileOperationAdditions native declaration : NSFileManager.h:310


fileManager_shouldProceedAfterError_removingItemAtURL

boolean fileManager_shouldProceedAfterError_removingItemAtURL(NSFileManager fileManager,
                                                              NSError error,
                                                              NSURL URL)
Original signature : -(BOOL)fileManager:(NSFileManager*) shouldProceedAfterError:(NSError*) removingItemAtURL:(NSURL*)
from NSFileManagerFileOperationAdditions native declaration : NSFileManager.h:311



Copyright © 2009. All Rights Reserved.