Previous Book Contents Book Index Next

Inside Macintosh: Programming With MRJToolkit /
Chapter 2 - MRJToolkit Reference / The MRJFileUtils Class
Methods /


findApplication

Returns the path to an application.

public static File findApplication (
                     MRJOSType applSig) 
                     throws FileNotFoundException;
applSig
The 4-byte creator of the application you are looking for.
method result
The file object that references the application you specified.
DISCUSSION
This method searches all local disks for the application. The search algorithm is identical to that used by the Finder. If the application cannot be found, the method throws FileNotFoundException.

SEE ALSO
The "Finder Interface" chapter in Inside Macintosh: Macintosh Toolbox Essentials for information about search paths and creators.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
12 NOV 1997