Platforms to show: All Mac Windows Linux Cross-Platform
CFURLMBS class
Super class: CFObjectMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | CoreFoundation | MBS MacCF Plugin | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
If the release property is true, the destructor of this class will release the url reference.
This class works on Windows with QuickTime 7 installed.
Subclass of the CFObjectMBS class.
- 18 properties
- property AddedToDirectoryDate as CFDateMBS
- property AttributeModificationDate as CFDateMBS
- property ContentAccessDate as CFDateMBS
- property ContentModificationDate as CFDateMBS
- property CreationDate as CFDateMBS
- property HasHiddenExtension as CFBooleanMBS
- property IsAlias as CFBooleanMBS
- property IsApplication as CFBooleanMBS
- property IsDirectory as CFBooleanMBS
- property IsHidden as CFBooleanMBS
- property IsPackage as CFBooleanMBS
- property IsRegularFile as CFBooleanMBS
- property IsSymbolicLink as CFBooleanMBS
- property IsSystemImmutable as CFBooleanMBS
- property IsUserImmutable as CFBooleanMBS
- property IsVolume as CFBooleanMBS
- property LocalizedName as CFStringMBS
- property Name as CFStringMBS
- 37 methods
- method AbsoluteURL as CFURLMBS
- method AppendPathComponent(pathcomponent as CFStringMBS,isDirectory as boolean) as CFURLMBS
- method AppendPathExtension(extension as CFStringMBS) as CFURLMBS
- method BaseURL as CFURLMBS
- method CanBeDecomposed as boolean
- method Constructor(File as FolderItem)
- method Constructor(URL as string)
- method Data(encoding as Integer, escapeWhitespace as boolean) as CFBinaryDataMBS
- method DeleteLastPathComponent as CFURLMBS
- method DeletePathExtension as CFURLMBS
- method DisplayName as CFStringMBS
- method file as folderitem
- method Fragment(charactersToLeaveEscaped as CFStringMBS) as CFStringMBS
- method HasDirectoryPath as boolean
- method HFSFileSystemPath as CFStringMBS
- method HostName as CFStringMBS
- method isAbsolutePath as boolean
- method Kind as CFStringMBS
- method LastPathComponent as CFStringMBS
- method Launch as Integer
- method NetLocation as CFStringMBS
- method ParameterString(charactersToLeaveEscaped as CFStringMBS) as CFStringMBS
- method Password as CFStringMBS
- method Path as CFStringMBS
- method Path(resolveAgainstBase as boolean) as string
- method PathExtension as CFStringMBS
- method PortNumber as Integer
- method PosixFileSystemPath as CFStringMBS
- method QueryString(charactersToLeaveEscaped as CFStringMBS) as CFStringMBS
- method ResourcePropertyForKey(key as CFStringMBS, byref value as Variant, byref error as CFErrorMBS) as boolean
- method ResourceSpecifier as CFStringMBS
- method Scheme as CFStringMBS
- method SetResourcePropertyForKey(key as CFStringMBS, value as Variant, byref error as CFErrorMBS) as boolean
- method Str as CFStringMBS
- method StrictPath as CFStringMBS
- method UserName as CFStringMBS
- method WindowsFileSystemPath as CFStringMBS
- 107 shared methods
- shared method kCFURLAddedToDirectoryDateKey as CFStringMBS
- shared method kCFURLApplicationIsScriptableKey as CFStringMBS
- shared method kCFURLAttributeModificationDateKey as CFStringMBS
- shared method kCFURLCanonicalPathKey as CFStringMBS
- shared method kCFURLContentAccessDateKey as CFStringMBS
- shared method kCFURLContentModificationDateKey as CFStringMBS
- shared method kCFURLCreationDateKey as CFStringMBS
- shared method kCFURLDocumentIdentifierKey as CFStringMBS
- shared method kCFURLFileAllocatedSizeKey as CFStringMBS
- shared method kCFURLFileResourceIdentifierKey as CFStringMBS
- shared method kCFURLFileResourceTypeBlockSpecial as CFStringMBS
- shared method kCFURLFileResourceTypeCharacterSpecial as CFStringMBS
- shared method kCFURLFileResourceTypeDirectory as CFStringMBS
- shared method kCFURLFileResourceTypeKey as CFStringMBS
- shared method kCFURLFileResourceTypeNamedPipe as CFStringMBS
- shared method kCFURLFileResourceTypeRegular as CFStringMBS
- shared method kCFURLFileResourceTypeSocket as CFStringMBS
- shared method kCFURLFileResourceTypeSymbolicLink as CFStringMBS
- shared method kCFURLFileResourceTypeUnknown as CFStringMBS
- shared method kCFURLFileSecurityKey as CFStringMBS
- shared method kCFURLFileSizeKey as CFStringMBS
- shared method kCFURLGenerationIdentifierKey as CFStringMBS
- shared method kCFURLHasHiddenExtensionKey as CFStringMBS
- shared method kCFURLIsAliasFileKey as CFStringMBS
- shared method kCFURLIsApplicationKey as CFStringMBS
- shared method kCFURLIsDirectoryKey as CFStringMBS
- shared method kCFURLIsExcludedFromBackupKey as CFStringMBS
- shared method kCFURLIsExecutableKey as CFStringMBS
- shared method kCFURLIsHiddenKey as CFStringMBS
- shared method kCFURLIsMountTriggerKey as CFStringMBS
- shared method kCFURLIsPackageKey as CFStringMBS
- shared method kCFURLIsReadableKey as CFStringMBS
- shared method kCFURLIsRegularFileKey as CFStringMBS
- shared method kCFURLIsSymbolicLinkKey as CFStringMBS
- shared method kCFURLIsSystemImmutableKey as CFStringMBS
- shared method kCFURLIsUbiquitousItemKey as CFStringMBS
- shared method kCFURLIsUserImmutableKey as CFStringMBS
- shared method kCFURLIsVolumeKey as CFStringMBS
- shared method kCFURLIsWritableKey as CFStringMBS
- shared method kCFURLLabelNumberKey as CFStringMBS
- shared method kCFURLLinkCountKey as CFStringMBS
- shared method kCFURLLocalizedLabelKey as CFStringMBS
- shared method kCFURLLocalizedNameKey as CFStringMBS
- shared method kCFURLLocalizedTypeDescriptionKey as CFStringMBS
- shared method kCFURLNameKey as CFStringMBS
- shared method kCFURLParentDirectoryURLKey as CFStringMBS
- shared method kCFURLPathKey as CFStringMBS
- shared method kCFURLPreferredIOBlockSizeKey as CFStringMBS
- shared method kCFURLQuarantinePropertiesKey as CFStringMBS
- shared method kCFURLTagNamesKey as CFStringMBS
- shared method kCFURLTotalFileAllocatedSizeKey as CFStringMBS
- shared method kCFURLTotalFileSizeKey as CFStringMBS
- shared method kCFURLTypeIdentifierKey as CFStringMBS
- shared method kCFURLUbiquitousItemDownloadingErrorKey as CFStringMBS
- shared method kCFURLUbiquitousItemDownloadingStatusCurrent as CFStringMBS
- shared method kCFURLUbiquitousItemDownloadingStatusDownloaded as CFStringMBS
- shared method kCFURLUbiquitousItemDownloadingStatusKey as CFStringMBS
- shared method kCFURLUbiquitousItemDownloadingStatusNotDownloaded as CFStringMBS
- shared method kCFURLUbiquitousItemHasUnresolvedConflictsKey as CFStringMBS
- shared method kCFURLUbiquitousItemIsDownloadedKey as CFStringMBS
- shared method kCFURLUbiquitousItemIsDownloadingKey as CFStringMBS
- shared method kCFURLUbiquitousItemIsExcludedFromSyncKey as CFStringMBS
- shared method kCFURLUbiquitousItemIsUploadedKey as CFStringMBS
- shared method kCFURLUbiquitousItemIsUploadingKey as CFStringMBS
- shared method kCFURLUbiquitousItemPercentDownloadedKey as CFStringMBS
- shared method kCFURLUbiquitousItemPercentUploadedKey as CFStringMBS
- shared method kCFURLUbiquitousItemUploadingErrorKey as CFStringMBS
- shared method kCFURLVolumeAvailableCapacityKey as CFStringMBS
- shared method kCFURLVolumeCreationDateKey as CFStringMBS
- shared method kCFURLVolumeIdentifierKey as CFStringMBS
- shared method kCFURLVolumeIsAutomountedKey as CFStringMBS
- shared method kCFURLVolumeIsBrowsableKey as CFStringMBS
- shared method kCFURLVolumeIsEjectableKey as CFStringMBS
- shared method kCFURLVolumeIsEncryptedKey as CFStringMBS
- shared method kCFURLVolumeIsInternalKey as CFStringMBS
- shared method kCFURLVolumeIsJournalingKey as CFStringMBS
- shared method kCFURLVolumeIsLocalKey as CFStringMBS
- shared method kCFURLVolumeIsReadOnlyKey as CFStringMBS
- shared method kCFURLVolumeIsRemovableKey as CFStringMBS
- shared method kCFURLVolumeIsRootFileSystemKey as CFStringMBS
- shared method kCFURLVolumeLocalizedFormatDescriptionKey as CFStringMBS
- shared method kCFURLVolumeLocalizedNameKey as CFStringMBS
- shared method kCFURLVolumeMaximumFileSizeKey as CFStringMBS
- shared method kCFURLVolumeNameKey as CFStringMBS
- shared method kCFURLVolumeResourceCountKey as CFStringMBS
- shared method kCFURLVolumeSupportsAdvisoryFileLockingKey as CFStringMBS
- shared method kCFURLVolumeSupportsCasePreservedNamesKey as CFStringMBS
- shared method kCFURLVolumeSupportsCaseSensitiveNamesKey as CFStringMBS
- shared method kCFURLVolumeSupportsCompressionKey as CFStringMBS
- shared method kCFURLVolumeSupportsExclusiveRenamingKey as CFStringMBS
- shared method kCFURLVolumeSupportsExtendedSecurityKey as CFStringMBS
- shared method kCFURLVolumeSupportsFileCloningKey as CFStringMBS
- shared method kCFURLVolumeSupportsHardLinksKey as CFStringMBS
- shared method kCFURLVolumeSupportsJournalingKey as CFStringMBS
- shared method kCFURLVolumeSupportsPersistentIDsKey as CFStringMBS
- shared method kCFURLVolumeSupportsRenamingKey as CFStringMBS
- shared method kCFURLVolumeSupportsRootDirectoryDatesKey as CFStringMBS
- shared method kCFURLVolumeSupportsSparseFilesKey as CFStringMBS
- shared method kCFURLVolumeSupportsSwapRenamingKey as CFStringMBS
- shared method kCFURLVolumeSupportsSymbolicLinksKey as CFStringMBS
- shared method kCFURLVolumeSupportsVolumeSizesKey as CFStringMBS
- shared method kCFURLVolumeSupportsZeroRunsKey as CFStringMBS
- shared method kCFURLVolumeTotalCapacityKey as CFStringMBS
- shared method kCFURLVolumeURLForRemountingKey as CFStringMBS
- shared method kCFURLVolumeURLKey as CFStringMBS
- shared method kCFURLVolumeUUIDStringKey as CFStringMBS
- shared method URLWithHandle(Handle as Integer) as CFURLMBS
Super class CFObjectMBS
- 5 properties
- property Handle as Integer
- property Hash as Integer
- property Lasterror as Integer
- property Type as Integer
- property TypeDescription as String
- 9 methods
- method close
- method DeepCopy as CFObjectMBS
- method EncodedData as MemoryBlock
- method Equal(o as CFObjectMBS) as boolean
- method ReleaseObject
- method RetainCount as Integer
- method RetainObject
- method XML as CFBinaryDataMBS
- method XMLdata as String
- shared method NewCFObject(handle as Integer) as CFObjectMBS
This class has no sub classes.
Some useful global functions for this class:
- CFHTTPMessageCreateRequestMBS(requestMethod as CFStringMBS, url as CFURLMBS, httpVersion as CFStringMBS) as CFHTTPMessageMBS
- CreateBundleMBS(url as CFURLMBS) as CFBundleMBS
- CreateBundlesFromDirectoryMBS(url as CFURLMBS, type as CFStringMBS) as CFArrayMBS
- NewCFURLMBSCFStringMBS(cfstr as CFStringMBS, baseurl as CFURLMBS) as CFURLMBS
- NewCFURLMBSFile(f as folderitem) as CFURLMBS
- NewCFURLMBSHFSPath(cfstr as CFStringMBS,directory as boolean) as CFURLMBS
- NewCFURLMBSMem(mem as memoryblock,len as Integer,encoding as Integer,baseurl as CFURLMBS) as CFURLMBS
- NewCFURLMBSPosixPath(cfstr as CFStringMBS,directory as boolean) as CFURLMBS
- NewCFURLMBSStr(str as string, baseurl as CFURLMBS) as CFURLMBS
- NewCFURLMBSWindowsPath(cfstr as CFStringMBS,directory as boolean) as CFURLMBS
Some methods using this class:
- CFBookmarkMBS.CreateBookmarkData(URL as CFURLMBS, options as UInt32 = 1024, relativeToURL as CFURLMBS = nil) as string
- CFBookmarkMBS.CreateBookmarkData(URL as CFURLMBS, options as UInt32 = 1024, relativeToURL as folderitem = nil) as string
- CFBookmarkMBS.CreateBookmarkData(URL as CFURLMBS, options as UInt32, resourcePropertiesToInclude() as string, relativeToURL as CFURLMBS = nil) as string
- CFBookmarkMBS.ResolveBookmarkDataToCFURLMBS(bookmark as string, options as UInt32, relativeToURL as CFURLMBS, byref isStale as boolean) as CFURLMBS
- CFBookmarkMBS.ResolveBookmarkDataToCFURLMBS(bookmark as string, options as UInt32, relativeToURL as folderitem, byref isStale as boolean) as CFURLMBS
- CFBookmarkMBS.StartAccessingSecurityScopedResource(URL as CFURLMBS) as boolean
- CFBundleMBS.BuiltInPlugInsDirectory as CFURLMBS
- CFBundleMBS.ResourceDirectory as CFURLMBS
- CFBundleMBS.URL as CFURLMBS
- CFHTTPMessageMBS.RequestURL as CFURLMBS
Some examples using this class:
- /MacCF/CFBundle example
- /MacCF/CFSocket Get Example
- /MacCF/iTunes Playlists
- /MacCF/Sandbox File Access/Sandbox Files
- /MacFrameworks/Image Capture/Camera Browser
Blog Entries
- MBS Xojo Plugins, version 20.5pr6
- MBS Xojo Plugins, version 17.4pr2
- MBS Xojo Plugins, version 17.1pr4
- MBS Xojo / Real Studio Plugins, version 16.4pr3
- MBS Xojo / Real Studio Plugins, version 14.1pr2
- MBS Real Studio Plugins, version 13.0pr1
- MBS Real Studio Plugins, version 12.1pr10
Release notes
- Version 21.5
- Added kCFURLUbiquitousItemIsExcludedFromSyncKey to CFURLMBS class.
- Version 20.5
- Version 17.4
- Added more constructors for CFURLMBS class.
- Version 17.1
- Added ResourcePropertyForKey and SetResourcePropertyForKey and a lot of keys to CFURLMBS class.
The items on this page are in the following plugins: MBS MacCF Plugin.