DRFolder Class Reference

Inherits from
Conforms to
Availability
Available in OS X v10.2 and later.
Declared in
DRFolder.h
Related sample code

Overview

Represents a folder to be created on the burned disc.

DRFolders can be either a “real” folder pointing to an existing folder (residing on a hard drive for example) or can be a “virtual” folder which exists only on the resulting burned disc. A DRFolder pointing to an existing folder cannot have it's contents changed - only those files/folders which are children of the actual folder on disk will be included on the resulting disc. Virtual folders are entirely created programatically and any virtual folder structure can exist and be burned to disc. It is possible to convert a real folder to a virtual folder using the makeVirtual method.

Tasks

Miscellaneous

Class Methods

folderWithPath:

Creates a real folder object

+ (DRFolder*) folderWithPath:(NSString*)path;
Parameters
path

The path to an existing file.

Return Value

An autoreleased DRFolder object.

Discussion

Creates and initializes a DRFolder object that will use the folder contents of the folder located at path as a source.

Availability
  • Available in OS X v10.2 and later.
Related Sample Code
Declared In
DRFolder.h

Instance Methods

initWithPath:

Initializes a real file object

- (id) initWithPath:(NSString*)path;
Parameters
path

The path to an existing folder.

Return Value

A DRFolder object.

Discussion

Initializes a DRFolder object that will use the folder contents of the folder located at path as a source.

Availability
  • Available in OS X v10.2 and later.
Declared In
DRFolder.h