The formatFilename: method can be used to shorten its filename argument to fit the volumes'
maximumFilenameLength restrictions by dropping vowels and truncating, if necessary. This method assumes that a
maximumFilenameLength of 12 indicates that file names should consist of eight characters, optionally followed by a period and a three character extension. The
formatFilename: method does not detect or suppress characters that are not valid.
If volume information cannot be obtained due to an OS error, caseSensitive,
preservesCase and
maximumFilenameLength will be set to conservative values (
true,
false, and 12 respectively) and
formatFilename: will operate on these values. This behavior is provided for cases where the volume information cannot be obtained due to an OS error, such as when no disk is present in drive.