class axl::cf::Url
#include <axl_cf_Url.h>
class Url: public axl::cf::TypeBase
{
public:
// construction
Url();
Url(const Url& src);
Url(
CFURLRef p,
bool isAttach = false
);
// methods
Url&
operator=(const Url& src);
Url&
operator=(CFURLRef p);
CFURLRef
getBaseUrl();
bool
isDirectory();
sl::String
getString();
sl::String
getPath();
sl::String
getFileSystemPath(CFURLPathStyle pathStyle = kCFURLPOSIXPathStyle);
bool
create(
CFStringRef string,
CFURLRef baseUrl = NULL
);
bool
create(
const sl::StringRef& string,
CFURLRef baseUrl = NULL
);
bool
create(
CFStringRef filePath,
CFURLPathStyle pathStyle,
bool isDirectory,
CFURLRef baseUrl = NULL
);
bool
create(
const sl::StringRef& filePath,
CFURLPathStyle pathStyle,
bool isDirectory,
CFURLRef baseUrl = NULL
);
bool
startAccessingSecurityScopedResource();
void
stopAccessingSecurityScopedResource();
bool
resolveBookmark(
CFDataRef bookmark,
uint_t options,
CFURLRef relativeToUrl = NULL,
bool* isStale = NULL
);
bool
resolveBookmark(
const void* p,
size_t size,
uint_t options,
CFURLRef relativeToUrl = NULL,
bool* isStale = NULL
);
bool
createBookmark(
cf::Data* data,
uint_t options,
CFURLRef relativeToUrl = NULL
);
bool
createBookmark(
sl::Array<char>* data,
uint_t options,
CFURLRef relativeToUrl = NULL
);
};