185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
|
* @brief Creates a new URL with the specified string relative to the
* specified URL.
*
* @param string A string describing a URL
* @param URL An URL to which the string is relative
* @return A new, autoreleased OFURL
*/
+ (instancetype)URLWithString: (OFString *)string
relativeToURL: (OFURL *)URL;
#ifdef OF_HAVE_FILES
/**
* @brief Creates a new URL with the specified local file path.
*
* If a directory exists at the specified path, a slash is appended if there is
* no slash yet.
|
|
<
|
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
|
* @brief Creates a new URL with the specified string relative to the
* specified URL.
*
* @param string A string describing a URL
* @param URL An URL to which the string is relative
* @return A new, autoreleased OFURL
*/
+ (instancetype)URLWithString: (OFString *)string relativeToURL: (OFURL *)URL;
#ifdef OF_HAVE_FILES
/**
* @brief Creates a new URL with the specified local file path.
*
* If a directory exists at the specified path, a slash is appended if there is
* no slash yet.
|
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
|
* @brief Initializes an already allocated OFURL with the specified string and
* relative URL.
*
* @param string A string describing a URL
* @param URL A URL to which the string is relative
* @return An initialized OFURL
*/
- (instancetype)initWithString: (OFString *)string
relativeToURL: (OFURL *)URL;
#ifdef OF_HAVE_FILES
/**
* @brief Initializes an already allocated OFURL with the specified local file
* path.
*
* If a directory exists at the specified path, a slash is appended if there is
|
|
<
|
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
|
* @brief Initializes an already allocated OFURL with the specified string and
* relative URL.
*
* @param string A string describing a URL
* @param URL A URL to which the string is relative
* @return An initialized OFURL
*/
- (instancetype)initWithString: (OFString *)string relativeToURL: (OFURL *)URL;
#ifdef OF_HAVE_FILES
/**
* @brief Initializes an already allocated OFURL with the specified local file
* path.
*
* If a directory exists at the specified path, a slash is appended if there is
|