Instance Property

fileSystemRepresentation

A C string containing the URL’s file system path. (read-only)

Declaration

@property(readonly) const char *fileSystemRepresentation;

Discussion

This returns a null-terminated C string in file system representation.

This string is automatically freed in the same way that a returned object would be released. The caller must either copy the string or use getFileSystemRepresentation:maxLength: if it needs to store the representation outside of the autorelease context in which the value was obtained.

The file system representation format is described in File Encodings and Fonts.

See Also

Accessing the Parts of the URL

absoluteString

The URL string for the receiver as an absolute URL. (read-only)

absoluteURL

An absolute URL that refers to the same resource as the receiver. (read-only)

baseURL

The base URL. (read-only)

fragment

The fragment identifier, conforming to RFC 1808. (read-only)

host

The host, conforming to RFC 1808. (read-only)

lastPathComponent

The last path component. (read-only)

parameterString

The parameter string conforming to RFC 1808. (read-only)

Deprecated
password

The password conforming to RFC 1808. (read-only)

path

The path, conforming to RFC 1808. (read-only)

pathComponents

An array containing the path components. (read-only)

pathExtension

The path extension. (read-only)

port

The port, conforming to RFC 1808.

query

The query string, conforming to RFC 1808.

relativePath

The relative path, conforming to RFC 1808. (read-only)

relativeString

A string representation of the relative portion of the URL. (read-only)

resourceSpecifier

The resource specifier. (read-only)

scheme

The scheme. (read-only)

standardizedURL

A copy of the URL with any instances of ".." or "." removed from its path. (read-only)

user

The user name, conforming to RFC 1808.