DRFile(VirtualLinks)

Extends Class:
Declared In:

Overview

This category on DRFile defines methods that allow various link/alias files to be created on the resulting disc which may not exist in the source.



Methods

+finderAliasPointingTo:inFilesystem:

Creates a Finder alias to another file on the output disc.

+hardLinkPointingTo:inFilesystem:

Creates a hard link to another file on the output disc.

-initWithLinkType:pointingTo:inFilesystem:

Initializes a file object to point to another file on the output disc.

+symLinkPointingTo:inFilesystem:

Creates a symbolic link to another file on the output disc.


finderAliasPointingTo:inFilesystem:


Creates a Finder alias to another file on the output disc.

+ (DRFile*) finderAliasPointingTo:(DRFSObject*)original 
        inFilesystem:(NSString*)filesystem; 
Parameters
original

The file to point he hard link to

filesystem

The filesystem this link will exist on.

Return Value

An autoreleased DRFile object.


hardLinkPointingTo:inFilesystem:


Creates a hard link to another file on the output disc.

+ (DRFile*) hardLinkPointingTo:(DRFile*)original 
        inFilesystem:(NSString*)filesystem; 
Parameters
original

The file to point he hard link to

filesystem

The filesystem this link will exist on.

Return Value

An autoreleased DRFile object.


initWithLinkType:pointingTo:inFilesystem:


Initializes a file object to point to another file on the output disc.

- (id) initWithLinkType:(NSString*)linkType pointingTo:(DRFSObject*)original 
        inFilesystem:(NSString*)filesystem; 
Parameters
linkType

The type of link that will be created.

original

The file to point he hard link to

filesystem

The filesystem this link will exist on.

Return Value

A DRFile object.


symLinkPointingTo:inFilesystem:


Creates a symbolic link to another file on the output disc.

+ (DRFile*) symLinkPointingTo:(DRFSObject*)original 
        inFilesystem:(NSString*)filesystem; 
Parameters
original

The file to point he hard link to

filesystem

The filesystem this link will exist on.

Return Value

An autoreleased DRFile object.

Did this document help you? Yes It's good, but... Not helpful...

 

Last Updated: 2009-08-12