[Previous] [Up] [Next]

NSURL

Authors

Richard Frith-Macdonald

Version: 0.1

Date: 28 February, 2000

NSURL

NSURL

Declared in: Foundation/NSURL.h

Inherits from: NSObject

Conforms to: NSCoding


Instance Variables

Methods


Class Methods

URLWithString:

+ (id) URLWithString: (NSString*)URLString;
Initializes with a string as specified in RFCs 1738 and 1808

URLWithString:relativeToURL:

+ (id) URLWithString: (NSString*)URLString relativeToURL: (NSURL*)baseURL;
Initializes relative to a base URL, with a string as specified in RFCs 1738 and 1808

fileURLWithPath:

+ (id) fileURLWithPath: (NSString*)path;
Initializes as a file schem URL with the specified path.

Instances Methods

loadResourceDataNotifyingClient:usingCache:

- (void) loadResourceDataNotifyingClient: (id)client usingCache: (BOOL)shouldUseCache;

parameterString

- (NSString*) parameterString;

password

- (NSString*) password;

path

- (NSString*) path;

port

- (NSNumber*) port;

propertyForKey:

- (id) propertyForKey: (NSString*)propertyKey;

query

- (NSString*) query;

relativePath

- (NSString*) relativePath;

relativeString

- (NSString*) relativeString;

resourceDataUsingCache:

- (NSData*) resourceDataUsingCache: (BOOL)shouldUseCache;

resourceSpecifier

- (NSString*) resourceSpecifier;

scheme

- (NSString*) scheme;

setProperty:

- (BOOL) setProperty: (id)property;

setResourceData:

- (BOOL) setResourceData: (NSData*)data;

standardizedURL

- (NSURL*) standardizedURL;

user

- (NSString*) user;