Define CNURLUtil class.
More...
#import <Foundation/Foundation.h>
#import "CNIOType.h"
Go to the source code of this file.
Detailed Description
Define CNURLUtil class.
- Copyright
- Copyright (C) 2009-2012 Steel Wheels Project
Function Documentation
Check the string is started by URI or not.
- Returns:
- URI of the string. If the source string does not have URI, this function returns CNURINoScheme.
- Parameters:
-
src | Source string to be checked. |
NSURL* CNAllocateURLForFile |
( |
NSString * |
fname, |
|
|
NSError ** |
error |
|
) |
| |
Allocate URL for file access.
- Return values:
-
url | Allocated URL |
nil | URL allocation failed. The error information is set to "error". |
- Parameters:
-
fname | Source file name |
error | Error information, this is set when the URL allocation is failed. |
- Note
- You have to release the returned object.