Previous Book Contents Book Index Next

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


Special Folder Constants

When searching for the path for special folders, you must specify the folder that you are looking for using the following constants.

public static final MRJOSType
   kSystemFolderType,                     // = OSType 'macs' 
   kDesktopFolderType,                    // = OSType 'desk' 
   kTrashFolderType,                      // = OSType 'trsh' 
   kWhereToEmptyTrashFolderType,          // = OSType 'empt' 
   kPrintMonitorDocsFolderType,           // = OSType 'prnt' 
   kStartupFolderType,                    // = OSType 'strt' 
   kShutdownFolderType,                   // = OSType 'shdf' 
   kAppleMenuFolderType,                  // = OSType 'amnu' 
   kControlPanelFolderType,               // = OSType 'ctrl' 
   kExtensionFolderType,                  // = OSType 'extn' 
   kFontsFolderType,                      // = OSType 'font' 
   kPreferencesFolderType,                // = OSType 'pref' 
   kTemporaryFolderType,                  // = OSType 'temp' 
   kExtensionDisabledFolderType,          // = OSType 'extD' 
   kControlPanelDisabledFolderType,       // = OSType 'ctrD' 
   kSystemExtensionDisabledFolderType,    // = OSType 'macD' 
   kStartupItemsDisabledFolderType,       // = OSType 'strD' 
   kShutdownItemsDisabledFolderType,      // = OSType 'shdD' 
   kApplicationsFolderType,               // = OSType 'apps' 
   kDocumentsFolderType,                  // = OSType 'docs' 
   kVolumeRootFolderType,                 // = OSType 'root' 
   kChewableItemsFolderType,              // = OSType 'flnt' 
   kApplicationSupportFolderType,         // = OSType 'asup' 
   kTextEncodingsFolderType,              // = OSType 'florintex' 
   kStationeryFolderType,                 // = OSType 'odst' 
   kOpenDocFolderType,                    // = OSType 'odod' 
   kOpenDocShellPlugInsFolderType,        // = OSType 'odsp' 
   kEditorsFolderType,                    // = OSType 'oded' 
   kOpenDocEditorsFolderType,             // = OSType 'florinodf' 
   kOpenDocLibrariesFolderType,           // = OSType 'odlb' 
   kGenEditorsFolderType,                 // = OSType 'florinedi' 
   kHelpFolderType,                       // = OSType 'florinhlp' 
   kInternetPlugInFolderType,             // = OSType 'florinnet' 
   kModemScriptsFolderType,               // = OSType 'florinmod' 
   kPrinterDescriptionFolderType,         // = OSType 'ppdf' 
   kPrinterDriverFolderType,              // = OSType 'florinprd' 
   kScriptingAdditionsFolderType,         // = OSType 'florinscr' 
   kSharedLibrariesFolderType,            // = OSType 'florinlib' 
   kVoicesFolderType,                     // = OSType 'fvoc' 
   kControlStripModulesFolderType,        // = OSType 'sdev' 
   kAssistantsFolderType,                 // = OSType 'astflorin' 
   kUtilitiesFolderType,                  // = OSType 'utiflorin' 
   kAppleExtrasFolderType,                // = OSType 'aexflorin' 
   kContextualMenuItemsFolderType,        // = OSType 'cmnu' 
   kMacOSReadMesFolderType;               // = OSType 'morflorin' 
Constant Descriptions

kSystemFolderType
The System Folder.

kDesktopFolderType
The Desktop folder.

kTrashFolderType
The Trash folder (for single-user systems).

kWhereToEmptyTrashFolderType
The shared Trash folder for networked users.

kPrintMonitorDocsFolderType
The PrintMonitor folder.

kStartupFolderType
The Startup Items folder.

kShutdownFolderType
The Shutdown Items folder.

kAppleMenuFolderType
The Apple Menu folder.

kControlPanelFolderType
The Control Panels folder.

kExtensionFolderType
The Extensions folder.

kFontsFolderType
The Fonts folder.

kPreferencesFolderType
The Preferences folder.

kTemporaryFolderType
The Temporary Items folder. This folder is invisible to the user.

kExtensionDisabledFolderType
The Extensions (Disabled) folder on a particular volume.

kControlPanelDisabledFolderType
The Control Panels (Disabled) folder on a particular volume.

kSystemExtensionDisabledFolderType
The System Extensions (Disabled) folder on a particular volume.

kStartupItemsDisabledFolderType
The Startup Items (Disabled) folder on a particular volume.

kShutdownItemsDisabledFolderType
The Shutdown Items (Disabled) folder on a particular volume.

kApplicationsFolderType
The Applications folder on a particular volume.

kDocumentsFolderType
The Documents folder on a particular volume.

kVolumeRootFolderType
The root folder on a particular volume.

kChewableItemsFolderType
The folder containing items that are deleted upon booting up on a particular volume.

kApplicationSupportFolderType
The Application Support folder that holds third-party items and folders on a particular volume.

kTextEncodingsFolderType
The Text Encodings folder containing text encoding tables on a particular volume.

kStationeryFolderType
The Stationery folder on a particular volume.

kOpenDocFolderType
The OpenDoc root folder on a particular volume.

kOpenDocShellPlugInsFolderType
The OpenDoc Shell Plug-Ins folder in the OpenDoc folder on a particular volume.

kEditorsFolderType
The OpenDoc editors folder in the Mac OS folder on a particular volume.

kOpenDocEditorsFolderType
Specifies OpenDoc subfolder of the Editors folder on a particular volume.

kOpenDocLibrariesFolderType
The OpenDoc Libraries folder on a particular volume.

kGenEditorsFolderType
The General Editors folder at root level of the System folder on a particular volume.

kHelpFolderType
The Help folder currently at root of the System folder on a particular volume.

kInternetPlugInFolderType
The Internet Plug-Ins folder for browsers on a particular volume.

kModemScriptsFolderType
The Modem Scripts folder on a particular volume.

kPrinterDescriptionFolderType
The Printer Descriptions folder for printer descriptions on a particular volume.

kPrinterDriverFolderType
Specifies new folder at root of the System folder for printer drivers on a particular volume.

kScriptingAdditionsFolderType
The Scripting Additions folder at the root of the System folder on a particular volume.

kSharedLibrariesFolderType
The Shared Libraries folder (containing general shared libraries) on a particular volume.

kVoicesFolderType
The Voices folder (containing MacinTalk text-to-speech voices) on a particular volume.

kControlStripModulesFolderType
The Control Strip Modules folder on a particular volume.

kAssistantsFolderType
The Assistants folder (containing, for example, MacOS Setup Assistant) on a particular volume.

kUtilitiesFolderType
The Utilities folder on a particular volume.

kAppleExtrasFolderType
The Apple Extras folder on a particular volume.

kContextualMenuItemsFolderType
The Contextual Menu Items folder on a particular volume.

kMacOSReadMesFolderType
The Read Mes, Etc folder on a particular volume.
Some of the folders may be absent due to differences in system software versions or system configuration.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
12 NOV 1997