org.rococoa.cocoa.foundation
Class NSURL._class_

java.lang.Object
  extended by org.rococoa.cocoa.foundation.NSObject
      extended by org.rococoa.cocoa.foundation.NSClass
          extended by org.rococoa.cocoa.foundation.NSObject._class_
              extended by org.rococoa.cocoa.foundation.NSURL._class_
All Implemented Interfaces:
NSObject, ObjCClass, ObjCObject
Enclosing class:
NSURL

public abstract static class NSURL._class_
extends NSObject._class_


Nested Class Summary
 
Nested classes/interfaces inherited from class org.rococoa.cocoa.foundation.NSObject
NSObject._class_
 
Nested classes/interfaces inherited from interface org.rococoa.ObjCClass
ObjCClass._Class
 
Nested classes/interfaces inherited from interface org.rococoa.cocoa.foundation.protocols.NSObject
NSObject._static_
 
Field Summary
 
Fields inherited from interface org.rococoa.ObjCClass
CLASS
 
Constructor Summary
NSURL._class_()
           
 
Method Summary
abstract  NSURL alloc()
          Original signature : +(id)alloc
native declaration : NSObject.h:77
 NSURLLoading._static_ asStatic_NSURL_NSURLLoading()
           
 NSURLPathUtilities._static_ asStatic_NSURL_NSURLPathUtilities()
           
abstract  NSData 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  NSURL fileURLWithPath_isDirectory(NSString path, boolean isDir)
          Original signature : +(id)fileURLWithPath:(NSString*) isDirectory:(BOOL)
native declaration : NSURL.h:52
abstract  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 new_()
          Original signature : +(id)new
native declaration : NSObject.h:75
abstract  NSDictionary resourceValuesForKeys_fromBookmarkData(NSArray keys, NSData bookmarkData)
          Property access.
abstract  NSObject 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 URLWithString_relativeToURL(NSString URLString, NSURL baseURL)
          Original signature : +(id)URLWithString:(NSString*) relativeToURL:(NSURL*)
native declaration : NSURL.h:59
abstract  NSObject URLWithString(NSString URLString)
          Original signature : +(id)URLWithString:(NSString*)
native declaration : NSURL.h:58
abstract  boolean 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.
 
Methods inherited from class org.rococoa.cocoa.foundation.NSObject._class_
allocWithZone, asStatic_NSObject_NSAccessibility, asStatic_NSObject_NSAccessibilityAdditions, asStatic_NSObject_NSApplicationScriptingDelegation, asStatic_NSObject_NSArchiverCallback, asStatic_NSObject_NSClassDescriptionPrimitives, asStatic_NSObject_NSCoderMethods, asStatic_NSObject_NSColorPanelResponderMethod, asStatic_NSObject_NSComparisonMethods, asStatic_NSObject_NSControlSubclassNotifications, asStatic_NSObject_NSCopyLinkMoveHandler, asStatic_NSObject_NSDelayedPerforming, asStatic_NSObject_NSDeprecatedKeyValueCoding, asStatic_NSObject_NSDeprecatedKeyValueObservingCustomization, asStatic_NSObject_NSDeprecatedMethods, asStatic_NSObject_NSDictionaryControllerKeyValuePair, asStatic_NSObject_NSDistributedObjects, asStatic_NSObject_NSDraggingDestination, asStatic_NSObject_NSDraggingSource, asStatic_NSObject_NSDraggingSourceDeprecated, asStatic_NSObject_NSEditor, asStatic_NSObject_NSEditorRegistration, asStatic_NSObject_NSErrorRecoveryAttempting, asStatic_NSObject_NSFileManagerFileOperationAdditions, asStatic_NSObject_NSFontManagerDelegate, asStatic_NSObject_NSFontManagerResponderMethod, asStatic_NSObject_NSFontPanelValidationAdditions, asStatic_NSObject_NSKeyValueBindingCreation, asStatic_NSObject_NSKeyValueCoding, asStatic_NSObject_NSKeyValueObserverNotification, asStatic_NSObject_NSKeyValueObserverRegistration, asStatic_NSObject_NSKeyValueObserving, asStatic_NSObject_NSKeyValueObservingCustomization, asStatic_NSObject_NSMenuValidation, asStatic_NSObject_NSNibAwaking, asStatic_NSObject_NSPasteboardOwner, asStatic_NSObject_NSPlaceholders, asStatic_NSObject_NSScriptClassDescription, asStatic_NSObject_NSScripting, asStatic_NSObject_NSScriptingComparisonMethods, asStatic_NSObject_NSScriptKeyValueCoding, asStatic_NSObject_NSScriptObjectSpecifiers, asStatic_NSObject_NSThreadPerformAdditions, asStatic_NSObject_NSURLClient, asStatic_NSObject_NSURLConnectionDelegate, asStatic_NSObject_NSURLDownloadDelegate, class_, conformsToProtocol, copyWithZone, initialize, instanceMethodForSelector, instanceMethodSignatureForSelector, instancesRespondToSelector, isSubclassOfClass, load, mutableCopyWithZone, resolveClassMethod, resolveInstanceMethod, superclass
 
Methods inherited from class org.rococoa.cocoa.foundation.NSObject
as_NSObject_NSAccessibility, as_NSObject_NSAccessibilityAdditions, as_NSObject_NSApplicationScriptingDelegation, as_NSObject_NSArchiverCallback, as_NSObject_NSClassDescriptionPrimitives, as_NSObject_NSCoderMethods, as_NSObject_NSColorPanelResponderMethod, as_NSObject_NSComparisonMethods, as_NSObject_NSControlSubclassNotifications, as_NSObject_NSCopyLinkMoveHandler, as_NSObject_NSDelayedPerforming, as_NSObject_NSDeprecatedKeyValueCoding, as_NSObject_NSDeprecatedKeyValueObservingCustomization, as_NSObject_NSDeprecatedMethods, as_NSObject_NSDictionaryControllerKeyValuePair, as_NSObject_NSDistributedObjects, as_NSObject_NSDraggingDestination, as_NSObject_NSDraggingSource, as_NSObject_NSDraggingSourceDeprecated, as_NSObject_NSEditor, as_NSObject_NSEditorRegistration, as_NSObject_NSErrorRecoveryAttempting, as_NSObject_NSFileManagerFileOperationAdditions, as_NSObject_NSFontManagerDelegate, as_NSObject_NSFontManagerResponderMethod, as_NSObject_NSFontPanelValidationAdditions, as_NSObject_NSKeyValueBindingCreation, as_NSObject_NSKeyValueCoding, as_NSObject_NSKeyValueObserverNotification, as_NSObject_NSKeyValueObserverRegistration, as_NSObject_NSKeyValueObserving, as_NSObject_NSKeyValueObservingCustomization, as_NSObject_NSMenuValidation, as_NSObject_NSNibAwaking, as_NSObject_NSPasteboardOwner, as_NSObject_NSPlaceholders, as_NSObject_NSScriptClassDescription, as_NSObject_NSScripting, as_NSObject_NSScriptingComparisonMethods, as_NSObject_NSScriptKeyValueCoding, as_NSObject_NSScriptObjectSpecifiers, as_NSObject_NSThreadPerformAdditions, as_NSObject_NSURLClient, as_NSObject_NSURLConnectionDelegate, as_NSObject_NSURLDownloadDelegate, copy, create, dealloc, description, doesNotRecognizeSelector, finalize, forwardingTargetForSelector, forwardInvocation, getNSClass, init, isKindOfClass, isKindOfClass, methodForSelector, methodSignatureForSelector, mutableCopy, release, retain, retainCount
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.rococoa.ObjCObject
id
 
Methods inherited from interface org.rococoa.cocoa.foundation.protocols.NSObject
autorelease, hash, isEqual, isMemberOfClass, isProxy, performSelector_withObject_withObject, performSelector_withObject, performSelector, respondsToSelector, self, zone
 

Constructor Detail

NSURL._class_

public NSURL._class_()
Method Detail

asStatic_NSURL_NSURLPathUtilities

public NSURLPathUtilities._static_ asStatic_NSURL_NSURLPathUtilities()

asStatic_NSURL_NSURLLoading

public NSURLLoading._static_ asStatic_NSURL_NSURLLoading()

fileURLWithPath_isDirectory

public abstract NSURL fileURLWithPath_isDirectory(NSString path,
                                                  boolean isDir)
Original signature : +(id)fileURLWithPath:(NSString*) isDirectory:(BOOL)
native declaration : NSURL.h:52


fileURLWithPath

public abstract 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.
Original signature : +(id)fileURLWithPath:(NSString*)
native declaration : NSURL.h:53


URLWithString

public abstract NSObject URLWithString(NSString URLString)
Original signature : +(id)URLWithString:(NSString*)
native declaration : NSURL.h:58


URLWithString_relativeToURL

public abstract NSObject URLWithString_relativeToURL(NSString URLString,
                                                     NSURL baseURL)
Original signature : +(id)URLWithString:(NSString*) relativeToURL:(NSURL*)
native declaration : NSURL.h:59


URLByResolvingBookmarkData_options_relativeToURL_bookmarkDataIsStale_error

public abstract NSObject 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


resourceValuesForKeys_fromBookmarkData

public abstract NSDictionary resourceValuesForKeys_fromBookmarkData(NSArray keys,
                                                                    NSData bookmarkData)
Property access. Given a NSData* created with bookmarkDataWithOptions, return a given property or all of the properties in bookmark data
Original signature : +(NSDictionary*)resourceValuesForKeys:(NSArray*) fromBookmarkData:(NSData*)
native declaration : NSURL.h:136


writeBookmarkData_toURL_options_error

public abstract boolean 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. If relativeToURL is non-NULL, create a relative url. The bookmark data must have been created with the NSURLBookmarkCreationSuitableForBookmarkFile flag or this routine will fail. If bookmarkFileURL is a directory then the file will be created in that directory with the name of the item represented by the bookmarkData with ".alias" appended. If bookmarkFileURL is a file url then its extension will be changed to ".alias", if not present.
Original signature : +(BOOL)writeBookmarkData:(NSData*) toURL:(NSURL*) options:(NSURLBookmarkFileCreationOptions) error:(NSError**)
native declaration : NSURL.h:140


bookmarkDataWithContentsOfURL_error

public abstract NSData 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. If bookmarkFileURL points to an alias file created before SnowLeopard which contains Alias Manager information and no bookmark data, then a NSData will be synthesized which contains a approximation of the alias information in a format which can be used to resolve the bookmark. If an error prevents reading the data or if it is corrupt, NULL will be returned and error will be filled in if errorRef is non-NULL.
Original signature : +(NSData*)bookmarkDataWithContentsOfURL:(NSURL*) error:(NSError**)
native declaration : NSURL.h:144


alloc

public abstract NSURL alloc()
Description copied from class: NSObject._class_
Original signature : +(id)alloc
native declaration : NSObject.h:77

Specified by:
alloc in class NSObject._class_

new_

public abstract NSURL new_()
Description copied from class: NSObject._class_
Original signature : +(id)new
native declaration : NSObject.h:75

Specified by:
new_ in class NSObject._class_


Copyright © 2009. All Rights Reserved.