Mac Developer Library

Developer

DRFile Class Reference

Options
Deployment Target:

On This Page

DRFile

Represents a file to be created on the disc.

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 virtual DRFolder objects.

  • Initializes a real file object

    Declaration

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

    Parameters

    path

    The path to an existing file.

    Return Value

    An DRFile object.

    Discussion

    This type of DRFile reads in data from an existing file located at path and burns that data to disc.

  • Creates a real file object

    Declaration

    + (DRFile*) fileWithPath:(NSString*)path;

    Parameters

    path

    The path to an existing file.

    Return Value

    An autoreleased DRFile object.

    Discussion

    This type of DRFile reads in data from an existing file located at path and burns that data to disc.