Platforms to show: All Mac Windows Linux Cross-Platform
DRFileMBS class
Super class: DRFSObjectMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | DiscRecording | MBS MacControls Plugin | 7.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
A file can be either a pointer to an exiting file (residing on a hard drive for example) or can be created at burn time from data passed into the file object as requested. DRFiles can only exist inside of DRFolder objects.
All methods in this class will catch exceptions from Cocoa and raise a NSExceptionMBS instead. Using the message, name and reason properties you can see what was the reason for this exception. Please report if you find a method which does not handle exceptions correct.
Subclass of the DRFSObjectMBS class.
- 5 events
- event calculateSizeOfFile(fork as Integer, estimating as boolean) as uint64
- event cleanupFileAfterBurn
- event prepareFileForBurn as boolean
- event prepareFileForVerification as boolean
- event produceFile(fork as Integer, buffer as memoryblock, Bufferlen as uint32, address as uint64, blocksize as uint32) as uint32
- 4 methods
- method Constructor
- method Constructor(name as string)
- method Constructor(name as string, data as memoryblock)
- method Constructor(path as folderitem)
- 10 shared methods
- shared method DRLinkTypeFinderAlias as string
- shared method DRLinkTypeHardLink as string
- shared method DRLinkTypeSymbolicLink as string
- shared method fileWithPath(path as folderitem) as DRFileMBS
- shared method fileWithPath(path as string) as DRFileMBS
- shared method finderAliasPointingTo(original as DRFSObjectMBS, filesystem as string) as DRFileMBS
- shared method hardLinkPointingTo(original as DRFileMBS, filesystem as string) as DRFileMBS
- shared method linkWithLinkType(linkType as string, original as DRFSObjectMBS, filesystem as string) as DRFileMBS
- shared method symLinkPointingTo(original as DRFSObjectMBS, filesystem as string) as DRFileMBS
- shared method virtualFileWithName(name as string, data as memoryblock) as DRFileMBS
- 2 constants
Constants
Constant | Value | Description |
---|---|---|
DRFileForkData | 0 | The constant which specifies which fork is currently needed. The data fork contains the primary information for the file and is the fork used for files such as JPEGs, text files, etc. more |
DRFileForkResource | 1 | The constant which specifies which fork is currently needed. The data fork contains the primary information for the file and is the fork used for files such as JPEGs, text files, etc. more |
Super class DRFSObjectMBS
- 4 properties
- property baseName as string
- property explicitFilesystemMask as Integer
- property specificNameForFilesystem(filesystem as string) as string
- property specificNames as dictionary
- 11 methods
- method Constructor Private
- method effectiveFilesystemMask as Integer
- method isVirtual as boolean
- method mangledNameForFilesystem(filesystem as string) as string
- method mangledNames as dictionary
- method parent as DRFolderMBS
- method propertiesForFilesystem(filesystem as string, mergeWithOtherFilesystems as boolean) as dictionary
- method propertyForKey(key as string, filesystem as string, mergeWithOtherFilesystems as boolean) as Variant
- method setProperties(Value as dictionary, filesystem as string)
- method setProperty(Value as Variant, key as string, filesystem as string)
- method sourcePath as string
- 45 shared methods
- shared method DRAccessDate as string
- shared method DRAllFilesystems as string
- shared method DRAttributeModificationDate as string
- shared method DRBackupDate as string
- shared method DRContentModificationDate as string
- shared method DRCreationDate as string
- shared method DREffectiveDate as string
- shared method DRExpirationDate as string
- shared method DRHFSPlus as string
- shared method DRHFSPlusCatalogNodeID as string
- shared method DRHFSPlusTextEncodingHint as string
- shared method DRInvisible as string
- shared method DRISO9660 as string
- shared method DRISO9660LevelOne as string
- shared method DRISO9660LevelTwo as string
- shared method DRISO9660VersionNumber as string
- shared method DRJoliet as string
- shared method DRMacExtendedFinderFlags as string
- shared method DRMacFileCreator as string
- shared method DRMacFileType as string
- shared method DRMacFinderFlags as string
- shared method DRMacFinderHideExtension as string
- shared method DRMacIconLocation as string
- shared method DRMacScrollPosition as string
- shared method DRMacWindowBounds as string
- shared method DRMacWindowView as string
- shared method DRPosixFileMode as string
- shared method DRPosixGID as string
- shared method DRPosixUID as string
- shared method DRRecordingDate as string
- shared method DRUDF as string
- shared method DRUDFApplicationIdentifierSuffix as string
- shared method DRUDFExtendedFilePermissions as string
- shared method DRUDFInterchangeLevel as string
- shared method DRUDFMaxInterchangeLevel as string
- shared method DRUDFMaxVolumeSequenceNumber as string
- shared method DRUDFPrimaryVolumeDescriptorNumber as string
- shared method DRUDFRealTimeFile as string
- shared method DRUDFVersion102 as string
- shared method DRUDFVersion150 as string
- shared method DRUDFVolumeSequenceNumber as string
- shared method DRUDFVolumeSetIdentifier as string
- shared method DRUDFVolumeSetImplementationUse as string
- shared method DRUDFVolumeSetTimestamp as string
- shared method DRUDFWriteVersion as string
- 4 constants
Constants
Constant | Value | Description |
---|---|---|
DRFilesystemInclusionMaskHFSPlus | 8 | The value which indicates the object should be included in the HFS+ filesytem. |
DRFilesystemInclusionMaskISO9660 | 1 | The value which indicates the object should be included in the ISO9660 filesytem. |
DRFilesystemInclusionMaskJoliet | 2 | The value which indicates the object should be included in the Joliet filesytem. |
DRFilesystemInclusionMaskUDF | 4 | The value which indicates the object should be included in the UDF filesytem. |
This class has no sub classes.
Some examples using this class:
Blog Entries
- MBS REALbasic Plugins Version 10.4 release notes
- MBS REALbasic Plugins, version 10.4pr8
- MBS REALbasic Plugins, version 10.4pr7
Xojo Developer Magazine
- 6.1, page 47: Finding Work, How to Find Work as a REALbasic Developer
- 6.1, page 31: DiscRecording, How to burn a CD from REALbasic on Mac OS X by Christian Schmitz
The items on this page are in the following plugins: MBS MacControls Plugin.
DREraseSetupPanelMBS - DRFolderMBS