Uses of Class
org.rococoa.cocoa.foundation.NSURL

Packages that use NSURL
org.rococoa.cocoa.appkit   
org.rococoa.cocoa.appkit.categories   
org.rococoa.cocoa.appkit.protocols   
org.rococoa.cocoa.foundation   
org.rococoa.cocoa.foundation.categories   
 

Uses of NSURL in org.rococoa.cocoa.appkit
 

Methods in org.rococoa.cocoa.appkit that return NSURL
abstract  NSURL NSDocument.autosavedContentsFileURL()
          Original signature : -(NSURL*)autosavedContentsFileURL
native declaration : NSDocument.h:343
abstract  NSURL NSSavePanel.directoryURL()
          NSSavePanel/NSOpenPanel: Gets and sets the directoryURL shown.
abstract  NSURL NSDocument.fileURL()
          Original signature : -(NSURL*)fileURL
native declaration : NSDocument.h:157
abstract  NSURL NSWindow.representedURL()
          Original signature : -(NSURL*)representedURL
native declaration : NSWindow.h:276
abstract  NSURL NSFileWrapper.symbolicLinkDestinationURL()
          Return the destination link of the receiver.
abstract  NSURL NSSavePanel.URL()
          NSSavePanel: Returns the URL to save the file at.
abstract  NSURL NSPathControl.URL()
          Original signature : -(NSURL*)URL
native declaration : NSPathControl.h:40
abstract  NSURL NSPathComponentCell.URL()
          Get and set the url portion to this particular NSPathComponentCell along the path of cells.
abstract  NSURL NSPathCell.URL()
          Gets and sets the path value displayed.
abstract  NSURL NSMovie.URL()
          Original signature : -(NSURL*)URL
native declaration : NSMovie.h:42
abstract  NSURL NSWorkspace.URLForApplicationToOpenURL(NSURL url)
          Returns the URL to the default application that would be used to open the given URL, as if the file were double clicked in the Finder (for file URLs).
abstract  NSURL NSWorkspace.URLForApplicationWithBundleIdentifier(NSString bundleIdentifier)
          Get the URL for the application with the given identifier.
 

Methods in org.rococoa.cocoa.appkit with parameters of type NSURL
abstract  boolean NSPersistentDocument.configurePersistentStoreCoordinatorForURL_ofType_modelConfiguration_storeOptions_error(NSURL url, NSString fileType, NSString configuration, NSDictionary storeOptions, PointerByReference error)
          Configures the persistent store coordinator with the appropriate stores.
static NSImage NSImage.createByReferencingURL(NSURL url)
          Factory method
static NSDocument NSDocument.createForURL_withContentsOfURL_ofType_error(NSURL absoluteDocumentURL, NSURL absoluteDocumentContentsURL, NSString typeName, PointerByReference outError)
          Factory method
static NSFileWrapper NSFileWrapper.createSymbolicLinkWithDestinationURL(NSURL url)
          Factory method
static NSSound NSSound.createWithContentsOfURL_byReference(NSURL url, boolean byRef)
          Factory method
static NSDocument NSDocument.createWithContentsOfURL_ofType_error(NSURL absoluteURL, NSString typeName, PointerByReference outError)
          Factory method
static NSNib NSNib.createWithContentsOfURL(NSURL nibFileURL)
          Factory method
static NSImage NSImage.createWithContentsOfURL(NSURL url)
          Factory method
static NSMovie NSMovie.createWithURL_byReference(NSURL url, boolean byRef)
          Factory method
static NSFileWrapper NSFileWrapper.createWithURL_options_error(NSURL url, NSUInteger options, PointerByReference outError)
          Factory method
abstract  NSObject NSDocumentController.documentForURL(NSURL absoluteURL)
          Given a URL, return the open document whose file or file package is located by the URL, or nil if there is no such open document.
abstract  NSDictionary NSDocument.fileAttributesToWriteToURL_ofType_forSaveOperation_originalContentsURL_error(NSURL absoluteURL, NSString typeName, int saveOperation, NSURL absoluteOriginalContentsURL, PointerByReference outError)
          Given that a file is being saved, return the attributes that should be written to a file or file package located by a URL, formatted to a specified type, for a particular kind of save operation.
static NSArray NSImageRep.imageRepsWithContentsOfURL(NSURL url)
          Original signature : +(NSArray*)imageRepsWithContentsOfURL:(NSURL*)
native declaration : NSImageRep.h:115
abstract  NSArray NSImageRep._class_.imageRepsWithContentsOfURL(NSURL url)
          Original signature : +(NSArray*)imageRepsWithContentsOfURL:(NSURL*)
native declaration : NSImageRep.h:115
static NSImageRep NSImageRep.imageRepWithContentsOfURL(NSURL url)
          Original signature : +(id)imageRepWithContentsOfURL:(NSURL*)
native declaration : NSImageRep.h:116
abstract  NSImageRep NSImageRep._class_.imageRepWithContentsOfURL(NSURL url)
          Original signature : +(id)imageRepWithContentsOfURL:(NSURL*)
native declaration : NSImageRep.h:116
abstract  NSImage NSImage.initByReferencingURL(NSURL url)
          When archived, saves url, supports progressive loading
Original signature : -(id)initByReferencingURL:(NSURL*)
native declaration : NSImage.h:88
abstract  NSDocument NSDocument.initForURL_withContentsOfURL_ofType_error(NSURL absoluteDocumentURL, NSURL absoluteDocumentContentsURL, NSString typeName, PointerByReference outError)
          Initialize a document located by a URL, of a specified type, but by reading the contents for the document from another URL, and return it if successful.
abstract  NSFileWrapper NSFileWrapper.initSymbolicLinkWithDestinationURL(NSURL url)
          A designated initializer for creating an instance for which -isSymbolicLink returns YES.
abstract  NSSound NSSound.initWithContentsOfURL_byReference(NSURL url, boolean byRef)
          When archived, byref ?
abstract  NSDocument NSDocument.initWithContentsOfURL_ofType_error(NSURL absoluteURL, NSString typeName, PointerByReference outError)
          Initialize a document located by a URL, of a specified type, and return it if successful.
abstract  NSNib NSNib.initWithContentsOfURL(NSURL nibFileURL)
          Original signature : -(id)initWithContentsOfURL:(NSURL*)
native declaration : NSNib.h:44
abstract  NSImage NSImage.initWithContentsOfURL(NSURL url)
          When archived, saves contents
Original signature : -(id)initWithContentsOfURL:(NSURL*)
native declaration : NSImage.h:85
abstract  NSMovie NSMovie.initWithURL_byReference(NSURL url, boolean byRef)
          When archived, saves ref or contents
Original signature : -(id)initWithURL:(NSURL*) byReference:(BOOL)
native declaration : NSMovie.h:38
abstract  NSFileWrapper NSFileWrapper.initWithURL_options_error(NSURL url, NSUInteger options, PointerByReference outError)
          A designated initializer for creating an instance whose kind (directory, regular file, or symbolic link) is determined based on what the URL locates.
abstract  NSRunningApplication NSWorkspace.launchApplicationAtURL_options_configuration_error(NSURL url, int options, NSDictionary configuration, PointerByReference error)
          Launches the app at the given URL.
abstract  NSObject NSDocumentController.makeDocumentForURL_withContentsOfURL_ofType_error(NSURL absoluteDocumentURL, NSURL absoluteDocumentContentsURL, NSString typeName, PointerByReference outError)
          Instantiate a document located by a URL, of a specified type, but by reading the contents for the document from another URL, and return it if successful.
abstract  NSObject NSDocumentController.makeDocumentWithContentsOfURL_ofType_error(NSURL absoluteURL, NSString typeName, PointerByReference outError)
          Instantiate a document located by a URL, of a specified type, and return it if successful.
abstract  boolean NSFileWrapper.matchesContentsOfURL(NSURL url)
          Whether the receiver matches the directory, regular file, or symbolic link that is located by the URL.
abstract  void NSDocumentController.noteNewRecentDocumentURL(NSURL absoluteURL)
          Add an item corresponding to the data located by a URL to the Open Recent menu, or replace an existing item with the same URL.
abstract  NSObject NSDocumentController.openDocumentWithContentsOfURL_display_error(NSURL absoluteURL, boolean displayDocument, PointerByReference outError)
          Open a document located by a URL, present its user interface if displayDocuments is YES, and return the document if successful.
abstract  boolean NSWorkspace.openURL(NSURL url)
          Open a URL, using the default handler for the URL's scheme.
abstract  boolean NSPersistentDocument.readFromURL_ofType_error(NSURL absoluteURL, NSString typeName, PointerByReference error)
          Overridden to load the document's managed objects through the managed object context.
abstract  boolean NSDocument.readFromURL_ofType_error(NSURL absoluteURL, NSString typeName, PointerByReference outError)
          Set the contents of this document by reading from a file or file package located by a URL, of a specified type, and return YES if successful.
abstract  boolean NSFileWrapper.readFromURL_options_error(NSURL url, NSUInteger options, PointerByReference outError)
          Recursively reread the entire contents of the receiver from the specified location, and return YES if successful.
abstract  boolean NSDocumentController.reopenDocumentForURL_withContentsOfURL_error(NSURL absoluteDocumentURL, NSURL absoluteDocumentContentsURL, PointerByReference outError)
          Reopen a document located by a URL by reading the contents for the document from another URL, present its user interface, and return YES if successful.
abstract  boolean NSPersistentDocument.revertToContentsOfURL_ofType_error(NSURL inAbsoluteURL, NSString inTypeName, PointerByReference outError)
          Overridden to clean up the managedObjectContext and controllers during a revert.
abstract  boolean NSDocument.revertToContentsOfURL_ofType_error(NSURL absoluteURL, NSString typeName, PointerByReference outError)
          Discard all unsaved document modifications and replace the document's contents by reading a file or file package located by a URL, of a specified type, and return YES if successful.
abstract  void NSDocument.saveToURL_ofType_forSaveOperation_delegate_didSaveSelector_contextInfo(NSURL absoluteURL, NSString typeName, int saveOperation, ObjCObject delegate, Selector didSaveSelector, Pointer contextInfo)
          Save the contents of the document to a file or file package located by a URL, formatted to a specified type, for a particular kind of save operation.
abstract  boolean NSDocument.saveToURL_ofType_forSaveOperation_error(NSURL absoluteURL, NSString typeName, int saveOperation, PointerByReference outError)
          Save the contents of the document to a file or file package located by a URL, formatted to a specified type, for a particular kind of save operation, and return YES if successful.
abstract  void NSDocument.setAutosavedContentsFileURL(NSURL absoluteURL)
          The location of the most recently autosaved document contents.
abstract  void NSSavePanel.setDirectoryURL(NSURL url)
          Original signature : -(void)setDirectoryURL:(NSURL*)
native declaration : NSSavePanel.h:99
abstract  void NSDocument.setFileURL(NSURL absoluteURL)
          The location of the document's on-disk representation.
abstract  void NSWindow.setRepresentedURL(NSURL url)
          setRepresentedURL:
If url is not nil and its path is not empty, the window will show a document icon in the titlebar.
abstract  void NSPathControl.setURL(NSURL url)
          Original signature : -(void)setURL:(NSURL*)
native declaration : NSPathControl.h:41
abstract  void NSPathComponentCell.setURL(NSURL url)
          Original signature : -(void)setURL:(NSURL*)
native declaration : NSPathComponentCell.h:48
abstract  void NSPathCell.setURL(NSURL url)
          Original signature : -(void)setURL:(NSURL*)
native declaration : NSPathCell.h:79
abstract  boolean NSSpeechSynthesizer.startSpeakingString_toURL(NSString string, NSURL url)
          Original signature : -(BOOL)startSpeakingString:(NSString*) toURL:(NSURL*)
native declaration : NSSpeechSynthesizer.h:53
abstract  NSString NSDocumentController.typeForContentsOfURL_error(NSURL inAbsoluteURL, PointerByReference outError)
          Given a URL, return the name of the document type that should be used when opening the document at that location, if successful.
abstract  boolean NSWorkspace.unmountAndEjectDeviceAtURL_error(NSURL url, PointerByReference error)
          Same as unmountAndEjectDeviceAtPath, except it takes an NSURL and returns an NSError.
abstract  NSURL NSWorkspace.URLForApplicationToOpenURL(NSURL url)
          Returns the URL to the default application that would be used to open the given URL, as if the file were double clicked in the Finder (for file URLs).
abstract  boolean NSDocument.writeSafelyToURL_ofType_forSaveOperation_error(NSURL absoluteURL, NSString typeName, int saveOperation, PointerByReference outError)
          Write the contents of the document to a file or file package located by a URL, formatted to a specified type, for a particular kind of save operation, and return YES if successful.
abstract  boolean NSDocument.writeToURL_ofType_error(NSURL absoluteURL, NSString typeName, PointerByReference outError)
          Write the contents of this document to a file or file package located by a URL, formatted to a specified type, and return YES if successful.
abstract  boolean NSDocument.writeToURL_ofType_forSaveOperation_originalContentsURL_error(NSURL absoluteURL, NSString typeName, int saveOperation, NSURL absoluteOriginalContentsURL, PointerByReference outError)
          Write the contents of the document to a file or file package located by a URL, formatted to a specified type, for a particular kind of save operation, and return YES if successful.
abstract  boolean NSFileWrapper.writeToURL_options_originalContentsURL_error(NSURL url, NSUInteger options, NSURL originalContentsURL, PointerByReference outError)
          Recursively write the entire contents of the receiver at the specified location, and return YES if successful.
 

Uses of NSURL in org.rococoa.cocoa.appkit.categories
 

Methods in org.rococoa.cocoa.appkit.categories that return NSURL
 NSURL NSDesktopImages.desktopImageURLForScreen(NSScreen screen)
          Returns the URL for the desktop image for the given screen.
 

Methods in org.rococoa.cocoa.appkit.categories with parameters of type NSURL
 NSAttributedString NSAttributedStringKitAdditions.initWithHTML_baseURL_documentAttributes(NSData data, NSURL base, PointerByReference dict)
          Original signature : -(id)initWithHTML:(NSData*) baseURL:(NSURL*) documentAttributes:(NSDictionary**)
from NSAttributedStringKitAdditions native declaration : NSAttributedString.h:225
 NSAttributedString NSAttributedStringKitAdditions.initWithURL_documentAttributes(NSURL url, PointerByReference dict)
          Original signature : -(id)initWithURL:(NSURL*) documentAttributes:(NSDictionary**)
from NSAttributedStringKitAdditions native declaration : NSAttributedString.h:218
 NSAttributedString NSAttributedStringKitAdditions.initWithURL_options_documentAttributes_error(NSURL url, NSDictionary options, PointerByReference dict, PointerByReference error)
          These first two general methods supersede the previous versions shown below.
 NSArray NSDraggingSource.namesOfPromisedFilesDroppedAtDestination(NSURL dropDestination)
          Original signature : -(NSArray*)namesOfPromisedFilesDroppedAtDestination:(NSURL*)
from NSDraggingSource native declaration : NSDragging.h:79
 boolean NSMutableAttributedStringKitAdditions.readFromURL_options_documentAttributes_error(NSURL url, NSDictionary opts, PointerByReference dict, PointerByReference error)
          These first two general methods are similar to the corresponding initWith... methods shown above, but they act only on mutable attributed strings.
 boolean NSMutableAttributedStringKitAdditions.readFromURL_options_documentAttributes(NSURL url, NSDictionary options, PointerByReference dict)
          These two superseded methods are similar to the two listed immediately above except that they lack the error return argument.
 boolean NSDesktopImages.setDesktopImageURL_forScreen_options_error(NSURL url, NSScreen screen, NSDictionary options, PointerByReference error)
          Sets the desktop image for the given screen to the image at the given URL.
 

Uses of NSURL in org.rococoa.cocoa.appkit.protocols
 

Methods in org.rococoa.cocoa.appkit.protocols with parameters of type NSURL
 NSArray NSDraggingInfo.namesOfPromisedFilesDroppedAtDestination(NSURL dropDestination)
          Original signature : -(NSArray*)namesOfPromisedFilesDroppedAtDestination:(NSURL*)
native declaration : NSDragging.h:47
 

Uses of NSURL in org.rococoa.cocoa.foundation
 

Methods in org.rococoa.cocoa.foundation that return NSURL
abstract  NSURL NSURL.absoluteURL()
          if the receiver is itself absolute, this will return self.
static NSURL NSURL.alloc()
           
abstract  NSURL NSURL._class_.alloc()
           
abstract  NSURL NSURL.baseURL()
          may be nil.
abstract  NSURL NSBundle.builtInPlugInsURL()
          Original signature : -(NSURL*)builtInPlugInsURL
native declaration : NSBundle.h:55
abstract  NSURL NSBundle.bundleURL()
          Methods for locating various components of a bundle.
abstract  NSURL NSHTTPCookie.commentURL()
           
static NSURL NSURL.createByResolvingBookmarkData_options_relativeToURL_bookmarkDataIsStale_error(NSData bookmarkData, NSUInteger options, NSURL relativeURL, boolean isStale, PointerByReference error)
          Factory method
static NSURL NSURL.createFileURLWithPath_isDirectory(NSString path, boolean isDir)
          Factory method
static NSURL NSURL.createFileURLWithPath(NSString path)
          Factory method
static NSURL NSURL.createWithScheme_host_path(NSString scheme, NSString host, NSString path)
          Factory method
static NSURL NSURL.createWithString_relativeToURL(NSString URLString, NSURL baseURL)
          Factory method
static NSURL NSURL.createWithString(NSString URLString)
          Factory method
abstract  NSURL NSBundle.executableURL()
          Original signature : -(NSURL*)executableURL
native declaration : NSBundle.h:49
abstract  NSURL NSURL.filePathURL()
          For file URLs, returns a file path URL, converting if the receiver is a file reference URL.
abstract  NSURL NSURL.fileReferenceURL()
          For file URLs, returns a file reference URL, converting if the receiver is file path URL.
static NSURL NSURL.fileURLWithPath_isDirectory(NSString path, boolean isDir)
          Original signature : +(id)fileURLWithPath:(NSString*) isDirectory:(BOOL)
native declaration : NSURL.h:52
abstract  NSURL NSURL._class_.fileURLWithPath_isDirectory(NSString path, boolean isDir)
          Original signature : +(id)fileURLWithPath:(NSString*) isDirectory:(BOOL)
native declaration : NSURL.h:52
static NSURL NSURL.fileURLWithPath(NSString path)
          Better to use fileURLWithPath:isDirectory: if you know if the path is a file vs directory, as it saves an i/o.
abstract  NSURL NSURL._class_.fileURLWithPath(NSString path)
          Better to use fileURLWithPath:isDirectory: if you know if the path is a file vs directory, as it saves an i/o.
abstract  NSURL NSURL.initByResolvingBookmarkData_options_relativeToURL_bookmarkDataIsStale_error(NSData bookmarkData, NSUInteger options, NSURL relativeURL, boolean isStale, PointerByReference error)
          Resolve bookmark data into a url; init and factory methods
Original signature : -(id)initByResolvingBookmarkData:(NSData*) options:(NSURLBookmarkResolutionOptions) relativeToURL:(NSURL*) bookmarkDataIsStale:(BOOL*) error:(NSError**)
native declaration : NSURL.h:132
abstract  NSURL NSURL.initFileURLWithPath_isDirectory(NSString path, boolean isDir)
          Original signature : -(id)initFileURLWithPath:(NSString*) isDirectory:(BOOL)
native declaration : NSURL.h:49
abstract  NSURL NSURL.initFileURLWithPath(NSString path)
          Better to use initFileURLWithPath:isDirectory: if you know if the path is a file vs directory, as it saves an i/o.
abstract  NSURL NSURL.initWithScheme_host_path(NSString scheme, NSString host, NSString path)
          Convenience initializers
this call percent-encodes both the host and path, so this cannot be used to set a username/password or port in the hostname part or with a IPv6 '[...]' type address; use initWithString: and construct the string yourself in those cases
Original signature : -(id)initWithScheme:(NSString*) host:(NSString*) path:(NSString*)
native declaration : NSURL.h:47
abstract  NSURL NSURL.initWithString_relativeToURL(NSString URLString, NSURL baseURL)
          It is an error for URLString to be nil
Original signature : -(id)initWithString:(NSString*) relativeToURL:(NSURL*)
native declaration : NSURL.h:57
abstract  NSURL NSURL.initWithString(NSString URLString)
          These methods expect their string arguments to contain any percent escape codes that are necessary
Original signature : -(id)initWithString:(NSString*)
native declaration : NSURL.h:56
abstract  NSURL NSURLRequest.mainDocumentURL()
           
static NSURL NSURL.new_()
           
abstract  NSURL NSURL._class_.new_()
           
abstract  NSURL NSBundle.privateFrameworksURL()
          Original signature : -(NSURL*)privateFrameworksURL
native declaration : NSBundle.h:52
abstract  NSURL NSBundle.resourceURL()
          Original signature : -(NSURL*)resourceURL
native declaration : NSBundle.h:48
abstract  NSURL NSBundle.sharedFrameworksURL()
          Original signature : -(NSURL*)sharedFrameworksURL
native declaration : NSBundle.h:53
abstract  NSURL NSBundle.sharedSupportURL()
          Original signature : -(NSURL*)sharedSupportURL
native declaration : NSBundle.h:54
abstract  NSURL NSURL.standardizedURL()
          Original signature : -(NSURL*)standardizedURL
native declaration : NSURL.h:83
abstract  NSURL NSURLRequest.URL()
           
abstract  NSURL NSBundle.URLForAuxiliaryExecutable(NSString executableName)
          Original signature : -(NSURL*)URLForAuxiliaryExecutable:(NSString*)
native declaration : NSBundle.h:50
abstract  NSURL NSUserDefaults.URLForKey(NSString defaultName)
          Original signature : -(NSURL*)URLForKey:(NSString*)
native declaration : NSUserDefaults.h:39
static NSURL NSBundle.URLForResource_withExtension_subdirectory_inBundleWithURL(NSString name, NSString ext, NSString subpath, NSURL bundleURL)
          Original signature : +(NSURL*)URLForResource:(NSString*) withExtension:(NSString*) subdirectory:(NSString*) inBundleWithURL:(NSURL*)
native declaration : NSBundle.h:69
abstract  NSURL NSBundle._class_.URLForResource_withExtension_subdirectory_inBundleWithURL(NSString name, NSString ext, NSString subpath, NSURL bundleURL)
          Original signature : +(NSURL*)URLForResource:(NSString*) withExtension:(NSString*) subdirectory:(NSString*) inBundleWithURL:(NSURL*)
native declaration : NSBundle.h:69
abstract  NSURL NSBundle.URLForResource_withExtension_subdirectory_localization(NSString name, NSString ext, NSString subpath, NSString localizationName)
          Original signature : -(NSURL*)URLForResource:(NSString*) withExtension:(NSString*) subdirectory:(NSString*) localization:(NSString*)
native declaration : NSBundle.h:74
abstract  NSURL NSBundle.URLForResource_withExtension_subdirectory(NSString name, NSString ext, NSString subpath)
          Original signature : -(NSURL*)URLForResource:(NSString*) withExtension:(NSString*) subdirectory:(NSString*)
native declaration : NSBundle.h:73
abstract  NSURL NSBundle.URLForResource_withExtension(NSString name, NSString ext)
          Original signature : -(NSURL*)URLForResource:(NSString*) withExtension:(NSString*)
native declaration : NSBundle.h:72
 

Methods in org.rococoa.cocoa.foundation with parameters of type NSURL
static NSData NSURL.bookmarkDataWithContentsOfURL_error(NSURL bookmarkFileURL, PointerByReference error)
          Given the url of a file which is a Finder "alias" file, return a NSData with the bookmark data from the file.
abstract  NSData NSURL._class_.bookmarkDataWithContentsOfURL_error(NSURL bookmarkFileURL, PointerByReference error)
          Given the url of a file which is a Finder "alias" file, return a NSData with the bookmark data from the file.
abstract  NSData NSURL.bookmarkDataWithOptions_includingResourceValuesForKeys_relativeToURL_error(NSUInteger options, NSArray keys, NSURL relativeURL, PointerByReference error)
          Create a NSData containing a externalizable representation from a given url, which can later be resolved or interrogated for properties
Original signature : -(NSData*)bookmarkDataWithOptions:(NSURLBookmarkCreationOptions) includingResourceValuesForKeys:(NSArray*) relativeToURL:(NSURL*) error:(NSError**)
native declaration : NSURL.h:129
static NSBundle NSBundle.bundleWithURL(NSURL url)
          Original signature : +(NSBundle*)bundleWithURL:(NSURL*)
native declaration : NSBundle.h:29
abstract  NSBundle NSBundle._class_.bundleWithURL(NSURL url)
          Original signature : +(NSBundle*)bundleWithURL:(NSURL*)
native declaration : NSBundle.h:29
static NSURLHandle NSURLHandle.cachedHandleForURL(NSURL anURL)
          Original signature : +(NSURLHandle*)cachedHandleForURL:(NSURL*)
native declaration : NSURLHandle.h:94
abstract  NSURLHandle NSURLHandle._class_.cachedHandleForURL(NSURL anURL)
          Original signature : +(NSURLHandle*)cachedHandleForURL:(NSURL*)
native declaration : NSURLHandle.h:94
static boolean NSURLHandle.canInitWithURL(NSURL anURL)
          The primitives; these must be overridden by subclasses.
abstract  boolean NSURLHandle._class_.canInitWithURL(NSURL anURL)
          The primitives; these must be overridden by subclasses.
abstract  NSArray NSFileManager.contentsOfDirectoryAtURL_includingPropertiesForKeys_options_error(NSURL url, NSArray keys, NSUInteger mask, PointerByReference error)
          -contentsOfDirectoryAtURL:includingPropertiesForKeys:options:error: returns an NSArray of NSURLs identifying the the directory entries.
abstract  NSArray NSHTTPCookieStorage.cookiesForURL(NSURL URL)
           
static NSArray NSHTTPCookie.cookiesWithResponseHeaderFields_forURL(NSDictionary headerFields, NSURL URL)
           
abstract  NSArray NSHTTPCookie._class_.cookiesWithResponseHeaderFields_forURL(NSDictionary headerFields, NSURL URL)
           
abstract  boolean NSFileManager.copyItemAtURL_toURL_error(NSURL srcURL, NSURL dstURL, PointerByReference error)
          These methods are URL-taking equivalents of the four methods above.
static NSURL NSURL.createByResolvingBookmarkData_options_relativeToURL_bookmarkDataIsStale_error(NSData bookmarkData, NSUInteger options, NSURL relativeURL, boolean isStale, PointerByReference error)
          Factory method
static NSAppleScript NSAppleScript.createWithContentsOfURL_error(NSURL url, PointerByReference errorInfo)
          Factory method
static NSXMLDTD NSXMLDTD.createWithContentsOfURL_options_error(NSURL url, NSUInteger mask, PointerByReference error)
          Factory method
static NSXMLDocument NSXMLDocument.createWithContentsOfURL_options_error(NSURL url, NSUInteger mask, PointerByReference error)
          Factory method
static NSXMLParser NSXMLParser.createWithContentsOfURL(NSURL url)
          Factory method
static NSHTTPCookieStorage NSHTTPCookieStorage.createWithStorageLocation(NSURL storageFileURL)
          Factory method
static NSURL NSURL.createWithString_relativeToURL(NSString URLString, NSURL baseURL)
          Factory method
static NSURLHandle NSURLHandle.createWithURL_cached(NSURL anURL, boolean willCache)
          Factory method
static NSURLRequest NSURLRequest.createWithURL(NSURL URL)
          Factory method
static NSBundle NSBundle.createWithURL(NSURL url)
          Factory method
abstract  NSURL NSURL.initByResolvingBookmarkData_options_relativeToURL_bookmarkDataIsStale_error(NSData bookmarkData, NSUInteger options, NSURL relativeURL, boolean isStale, PointerByReference error)
          Resolve bookmark data into a url; init and factory methods
Original signature : -(id)initByResolvingBookmarkData:(NSData*) options:(NSURLBookmarkResolutionOptions) relativeToURL:(NSURL*) bookmarkDataIsStale:(BOOL*) error:(NSError**)
native declaration : NSURL.h:132
abstract  NSAppleScript NSAppleScript.initWithContentsOfURL_error(NSURL url, PointerByReference errorInfo)
          Given a URL that locates a script, in either text or compiled form, initialize.
abstract  NSXMLDTD NSXMLDTD.initWithContentsOfURL_options_error(NSURL url, NSUInteger mask, PointerByReference error)
          Original signature : -(id)initWithContentsOfURL:(NSURL*) options:(NSUInteger) error:(NSError**)
native declaration : NSXMLDTD.h:38
abstract  NSXMLDocument NSXMLDocument.initWithContentsOfURL_options_error(NSURL url, NSUInteger mask, PointerByReference error)
           
abstract  NSXMLParser NSXMLParser.initWithContentsOfURL(NSURL url)
          initializes the parser with the specified URL.
abstract  NSHTTPCookieStorage NSHTTPCookieStorage.initWithStorageLocation(NSURL storageFileURL)
           
abstract  NSURL NSURL.initWithString_relativeToURL(NSString URLString, NSURL baseURL)
          It is an error for URLString to be nil
Original signature : -(id)initWithString:(NSString*) relativeToURL:(NSURL*)
native declaration : NSURL.h:57
abstract  NSURLHandle NSURLHandle.initWithURL_cached(NSURL anURL, boolean willCache)
          Original signature : -(id)initWithURL:(NSURL*) cached:(BOOL)
native declaration : NSURLHandle.h:95
abstract  NSURLRequest NSURLRequest.initWithURL(NSURL URL)
           
abstract  NSBundle NSBundle.initWithURL(NSURL url)
          Original signature : -(id)initWithURL:(NSURL*)
native declaration : NSBundle.h:30
abstract  boolean NSFileManager.linkItemAtURL_toURL_error(NSURL srcURL, NSURL dstURL, PointerByReference error)
          Original signature : -(BOOL)linkItemAtURL:(NSURL*) toURL:(NSURL*) error:(NSError**)
native declaration : NSFileManager.h:158
abstract  boolean NSFileManager.moveItemAtURL_toURL_error(NSURL srcURL, NSURL dstURL, PointerByReference error)
          Original signature : -(BOOL)moveItemAtURL:(NSURL*) toURL:(NSURL*) error:(NSError**)
native declaration : NSFileManager.h:157
abstract  NSObject NSXMLDocument.objectByApplyingXSLTAtURL_arguments_error(NSURL xsltURL, NSDictionary argument, PointerByReference error)
           
abstract  boolean NSFileManager.removeItemAtURL_error(NSURL URL, PointerByReference error)
          Original signature : -(BOOL)removeItemAtURL:(NSURL*) error:(NSError**)
native declaration : NSFileManager.h:159
abstract  boolean NSFileManager.replaceItemAtURL_withItemAtURL_backupItemName_options_resultingItemURL_error(NSURL originalItemURL, NSURL newItemURL, NSString backupItemName, NSUInteger options, PointerByReference resultingURL, PointerByReference error)
          -replaceItemAtURL:withItemAtURL:backupItemName:options:resultingItemURL:error: is for developers who wish to perform a safe-save without using the full NSDocument machinery that is available in the AppKit.
static NSURLRequest NSURLRequest.requestWithURL(NSURL URL)
           
abstract  NSURLRequest NSURLRequest._class_.requestWithURL(NSURL URL)
           
abstract  void NSHTTPCookieStorage.setCookies_forURL_mainDocumentURL(NSArray cookies, NSURL URL, NSURL mainDocumentURL)
           
abstract  void NSMutableURLRequest.setMainDocumentURL(NSURL URL)
           
abstract  void NSUserDefaults.setURL_forKey(NSURL url, NSString defaultName)
          Original signature : -(void)setURL:(NSURL*) forKey:(NSString*)
native declaration : NSUserDefaults.h:45
abstract  void NSMutableURLRequest.setURL(NSURL URL)
           
static NSObject NSURL.URLByResolvingBookmarkData_options_relativeToURL_bookmarkDataIsStale_error(NSData bookmarkData, NSUInteger options, NSURL relativeURL, boolean isStale, PointerByReference error)
          Original signature : +(id)URLByResolvingBookmarkData:(NSData*) options:(NSURLBookmarkResolutionOptions) relativeToURL:(NSURL*) bookmarkDataIsStale:(BOOL*) error:(NSError**)
native declaration : NSURL.h:133
abstract  NSObject NSURL._class_.URLByResolvingBookmarkData_options_relativeToURL_bookmarkDataIsStale_error(NSData bookmarkData, NSUInteger options, NSURL relativeURL, boolean isStale, PointerByReference error)
          Original signature : +(id)URLByResolvingBookmarkData:(NSData*) options:(NSURLBookmarkResolutionOptions) relativeToURL:(NSURL*) bookmarkDataIsStale:(BOOL*) error:(NSError**)
native declaration : NSURL.h:133
static NSURL NSBundle.URLForResource_withExtension_subdirectory_inBundleWithURL(NSString name, NSString ext, NSString subpath, NSURL bundleURL)
          Original signature : +(NSURL*)URLForResource:(NSString*) withExtension:(NSString*) subdirectory:(NSString*) inBundleWithURL:(NSURL*)
native declaration : NSBundle.h:69
abstract  NSURL NSBundle._class_.URLForResource_withExtension_subdirectory_inBundleWithURL(NSString name, NSString ext, NSString subpath, NSURL bundleURL)
          Original signature : +(NSURL*)URLForResource:(NSString*) withExtension:(NSString*) subdirectory:(NSString*) inBundleWithURL:(NSURL*)
native declaration : NSBundle.h:69
static ObjCClass NSURLHandle.URLHandleClassForURL(NSURL anURL)
          Original signature : +(Class)URLHandleClassForURL:(NSURL*)
native declaration : NSURLHandle.h:68
abstract  ObjCClass NSURLHandle._class_.URLHandleClassForURL(NSURL anURL)
          Original signature : +(Class)URLHandleClassForURL:(NSURL*)
native declaration : NSURLHandle.h:68
static NSArray NSBundle.URLsForResourcesWithExtension_subdirectory_inBundleWithURL(NSString ext, NSString subpath, NSURL bundleURL)
          Original signature : +(NSArray*)URLsForResourcesWithExtension:(NSString*) subdirectory:(NSString*) inBundleWithURL:(NSURL*)
native declaration : NSBundle.h:70
abstract  NSArray NSBundle._class_.URLsForResourcesWithExtension_subdirectory_inBundleWithURL(NSString ext, NSString subpath, NSURL bundleURL)
          Original signature : +(NSArray*)URLsForResourcesWithExtension:(NSString*) subdirectory:(NSString*) inBundleWithURL:(NSURL*)
native declaration : NSBundle.h:70
static NSObject NSURL.URLWithString_relativeToURL(NSString URLString, NSURL baseURL)
          Original signature : +(id)URLWithString:(NSString*) relativeToURL:(NSURL*)
native declaration : NSURL.h:59
abstract  NSObject NSURL._class_.URLWithString_relativeToURL(NSString URLString, NSURL baseURL)
          Original signature : +(id)URLWithString:(NSString*) relativeToURL:(NSURL*)
native declaration : NSURL.h:59
static boolean NSURL.writeBookmarkData_toURL_options_error(NSData bookmarkData, NSURL bookmarkFileURL, NSUInteger options, PointerByReference error)
          Create a bookmark file on disk at bookmarkFileURL which can be resolved back to the file system item represented by bookmarkData, using the given options.
abstract  boolean NSURL._class_.writeBookmarkData_toURL_options_error(NSData bookmarkData, NSURL bookmarkFileURL, NSUInteger options, PointerByReference error)
          Create a bookmark file on disk at bookmarkFileURL which can be resolved back to the file system item represented by bookmarkData, using the given options.
 

Uses of NSURL in org.rococoa.cocoa.foundation.categories
 

Methods in org.rococoa.cocoa.foundation.categories that return NSURL
 NSURL NSURLPathUtilities._static_.fileURLWithPathComponents(NSArray components)
          The following methods work on the path portion of a URL in the same manner that the NSPathUtilities methods on NSString do.
 NSURL NSURLPathUtilities.URLByAppendingPathComponent(NSString pathComponent)
          Original signature : -(NSURL*)URLByAppendingPathComponent:(NSString*)
from NSURLPathUtilities native declaration : NSURL.h:190
 NSURL NSURLPathUtilities.URLByAppendingPathExtension(NSString pathExtension)
          Original signature : -(NSURL*)URLByAppendingPathExtension:(NSString*)
from NSURLPathUtilities native declaration : NSURL.h:192
 NSURL NSURLPathUtilities.URLByDeletingLastPathComponent()
          Original signature : -(NSURL*)URLByDeletingLastPathComponent
from NSURLPathUtilities native declaration : NSURL.h:191
 NSURL NSURLPathUtilities.URLByDeletingPathExtension()
          Original signature : -(NSURL*)URLByDeletingPathExtension
from NSURLPathUtilities native declaration : NSURL.h:193
 NSURL NSURLPathUtilities.URLByResolvingSymlinksInPath()
          Original signature : -(NSURL*)URLByResolvingSymlinksInPath
from NSURLPathUtilities native declaration : NSURL.h:198
 NSURL NSURLPathUtilities.URLByStandardizingPath()
          The following methods work only on `file:` scheme path-based URLs; for file reference URLs or for non-`file:` scheme URLs, these methods return the URL unchanged.
 

Methods in org.rococoa.cocoa.foundation.categories with parameters of type NSURL
 NSArray NSArrayCreation._static_.arrayWithContentsOfURL(NSURL url)
          Original signature : +(id)arrayWithContentsOfURL:(NSURL*)
from NSArrayCreation native declaration : NSArray.h:97
 NSData NSDataCreation._static_.dataWithContentsOfURL_options_error(NSURL url, NSUInteger readOptionsMask, PointerByReference errorPtr)
          Original signature : +(id)dataWithContentsOfURL:(NSURL*) options:(NSDataReadingOptions) error:(NSError**)
from NSDataCreation native declaration : NSData.h:80
 NSData NSDataCreation._static_.dataWithContentsOfURL(NSURL url)
          Original signature : +(id)dataWithContentsOfURL:(NSURL*)
from NSDataCreation native declaration : NSData.h:83
 NSDictionary NSDictionaryCreation._static_.dictionaryWithContentsOfURL(NSURL url)
          Original signature : +(id)dictionaryWithContentsOfURL:(NSURL*)
from NSDictionaryCreation native declaration : NSDictionary.h:68
 NSObject NSFileHandleCreation._static_.fileHandleForReadingFromURL_error(NSURL url, PointerByReference error)
          Original signature : +(id)fileHandleForReadingFromURL:(NSURL*) error:(NSError**)
from NSFileHandleCreation native declaration : NSFileHandle.h:42
 NSObject NSFileHandleCreation._static_.fileHandleForUpdatingURL_error(NSURL url, PointerByReference error)
          Original signature : +(id)fileHandleForUpdatingURL:(NSURL*) error:(NSError**)
from NSFileHandleCreation native declaration : NSFileHandle.h:44
 NSObject NSFileHandleCreation._static_.fileHandleForWritingToURL_error(NSURL url, PointerByReference error)
          Original signature : +(id)fileHandleForWritingToURL:(NSURL*) error:(NSError**)
from NSFileHandleCreation native declaration : NSFileHandle.h:43
 boolean NSFileManagerFileOperationAdditions.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 NSFileManagerFileOperationAdditions.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 NSFileManagerFileOperationAdditions.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 NSFileManagerFileOperationAdditions.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 NSFileManagerFileOperationAdditions.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 NSFileManagerFileOperationAdditions.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 NSFileManagerFileOperationAdditions.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 NSFileManagerFileOperationAdditions.fileManager_shouldRemoveItemAtURL(NSFileManager fileManager, NSURL URL)
          Original signature : -(BOOL)fileManager:(NSFileManager*) shouldRemoveItemAtURL:(NSURL*)
from NSFileManagerFileOperationAdditions native declaration : NSFileManager.h:304
 NSString NSStringExtensionMethods.initWithContentsOfURL_encoding_error(NSURL url, int enc, PointerByReference error)
          These use the specified encoding.
 NSData NSDataCreation.initWithContentsOfURL_options_error(NSURL url, NSUInteger readOptionsMask, PointerByReference errorPtr)
          Original signature : -(id)initWithContentsOfURL:(NSURL*) options:(NSDataReadingOptions) error:(NSError**)
from NSDataCreation native declaration : NSData.h:92
 NSString NSStringExtensionMethods.initWithContentsOfURL_usedEncoding_error(NSURL url, IntBuffer enc, PointerByReference error)
          These try to determine the encoding, and return the encoding which was used.
 NSString NSStringExtensionMethods.initWithContentsOfURL_usedEncoding_error(NSURL url, IntByReference enc, PointerByReference error)
          Deprecated. use the safer methods NSStringExtensionMethods.initWithContentsOfURL_usedEncoding_error(org.rococoa.cocoa.foundation.NSURL, java.nio.IntBuffer, com.sun.jna.ptr.PointerByReference) and NSStringExtensionMethods.initWithContentsOfURL_usedEncoding_error(org.rococoa.cocoa.foundation.NSURL, com.sun.jna.ptr.IntByReference, com.sun.jna.ptr.PointerByReference) instead
 NSString NSStringDeprecated.initWithContentsOfURL(NSURL url)
          Original signature : -(id)initWithContentsOfURL:(NSURL*)
from NSStringDeprecated native declaration : NSString.h:379
 NSDictionary NSDictionaryCreation.initWithContentsOfURL(NSURL url)
          Original signature : -(id)initWithContentsOfURL:(NSURL*)
from NSDictionaryCreation native declaration : NSDictionary.h:70
 NSData NSDataCreation.initWithContentsOfURL(NSURL url)
          Original signature : -(id)initWithContentsOfURL:(NSURL*)
from NSDataCreation native declaration : NSData.h:95
 NSArray NSArrayCreation.initWithContentsOfURL(NSURL url)
          Original signature : -(id)initWithContentsOfURL:(NSURL*)
from NSArrayCreation native declaration : NSArray.h:99
 NSOutputStream NSOutputStreamExtensions.initWithURL_append(NSURL url, boolean shouldAppend)
          Original signature : -(id)initWithURL:(NSURL*) append:(BOOL)
from NSOutputStreamExtensions native declaration : NSStream.h:100
 NSInputStream NSInputStreamExtensions.initWithURL(NSURL url)
          Original signature : -(id)initWithURL:(NSURL*)
from NSInputStreamExtensions native declaration : NSStream.h:88
 NSInputStream NSInputStreamExtensions._static_.inputStreamWithURL(NSURL url)
          Original signature : +(id)inputStreamWithURL:(NSURL*)
from NSInputStreamExtensions native declaration : NSStream.h:92
 NSOutputStream NSOutputStreamExtensions._static_.outputStreamWithURL_append(NSURL url, boolean shouldAppend)
          Original signature : +(id)outputStreamWithURL:(NSURL*) append:(BOOL)
from NSOutputStreamExtensions native declaration : NSStream.h:105
 NSString NSStringExtensionMethods._static_.stringWithContentsOfURL_encoding_error(NSURL url, int enc, PointerByReference error)
          Original signature : +(id)stringWithContentsOfURL:(NSURL*) encoding:(NSStringEncoding) error:(NSError**)
from NSStringExtensionMethods native declaration : NSString.h:303
 NSString NSStringExtensionMethods._static_.stringWithContentsOfURL_usedEncoding_error(NSURL url, IntBuffer enc, PointerByReference error)
          Original signature : +(id)stringWithContentsOfURL:(NSURL*) usedEncoding:(NSStringEncoding*) error:(NSError**)
from NSStringExtensionMethods native declaration : NSString.h:310
 NSString NSStringExtensionMethods._static_.stringWithContentsOfURL_usedEncoding_error(NSURL url, IntByReference enc, PointerByReference error)
          Deprecated. use the safer methods NSStringExtensionMethods._static_.stringWithContentsOfURL_usedEncoding_error(org.rococoa.cocoa.foundation.NSURL, java.nio.IntBuffer, com.sun.jna.ptr.PointerByReference) and NSStringExtensionMethods._static_.stringWithContentsOfURL_usedEncoding_error(org.rococoa.cocoa.foundation.NSURL, com.sun.jna.ptr.IntByReference, com.sun.jna.ptr.PointerByReference) instead
 NSString NSStringDeprecated._static_.stringWithContentsOfURL(NSURL url)
          Original signature : +(id)stringWithContentsOfURL:(NSURL*)
from NSStringDeprecated native declaration : NSString.h:381
 void NSURLClient.URL_resourceDataDidBecomeAvailable(NSURL sender, NSData newBytes)
          Original signature : -(void)URL:(NSURL*) resourceDataDidBecomeAvailable:(NSData*)
from NSURLClient native declaration : NSURL.h:161
 void NSURLClient.URL_resourceDidFailLoadingWithReason(NSURL sender, NSString reason)
          Original signature : -(void)URL:(NSURL*) resourceDidFailLoadingWithReason:(NSString*)
from NSURLClient native declaration : NSURL.h:164
 void NSURLClient.URLResourceDidCancelLoading(NSURL sender)
          Original signature : -(void)URLResourceDidCancelLoading:(NSURL*)
from NSURLClient native declaration : NSURL.h:163
 void NSURLClient.URLResourceDidFinishLoading(NSURL sender)
          Original signature : -(void)URLResourceDidFinishLoading:(NSURL*)
from NSURLClient native declaration : NSURL.h:162
 boolean NSStringExtensionMethods.writeToURL_atomically_encoding_error(NSURL url, boolean useAuxiliaryFile, int enc, PointerByReference error)
          Write to specified url or path using the specified encoding.
 boolean NSStringDeprecated.writeToURL_atomically(NSURL url, boolean atomically)
          Original signature : -(BOOL)writeToURL:(NSURL*) atomically:(BOOL)
from NSStringDeprecated native declaration : NSString.h:376
 boolean NSExtendedDictionary.writeToURL_atomically(NSURL url, boolean atomically)
          the atomically flag is ignored if url of a type that cannot be written atomically.
 boolean NSExtendedData.writeToURL_atomically(NSURL url, boolean atomically)
          the atomically flag is ignored if the url is not of a type the supports atomic writes
Original signature : -(BOOL)writeToURL:(NSURL*) atomically:(BOOL)
from NSExtendedData native declaration : NSData.h:61
 boolean NSExtendedArray.writeToURL_atomically(NSURL url, boolean atomically)
          Original signature : -(BOOL)writeToURL:(NSURL*) atomically:(BOOL)
from NSExtendedArray native declaration : NSArray.h:47
 boolean NSExtendedData.writeToURL_options_error(NSURL url, NSUInteger writeOptionsMask, PointerByReference errorPtr)
          Original signature : -(BOOL)writeToURL:(NSURL*) options:(NSDataWritingOptions) error:(NSError**)
from NSExtendedData native declaration : NSData.h:64
 



Copyright © 2009. All Rights Reserved.