Mac Developer Library

Developer

DRFolder Class Reference

Options
Deployment Target:

On This Page

DRFolder

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.

  • Initializes a real file object

    Declaration

    - (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.

  • Creates a real folder object

    Declaration

    + (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.