The MacOS.FileSpec object represents a MacOS file or folder specification.
| Method/Property |
Description |
| MacOS.FileSpec(path) |
constructor
Path specifies the file or folder
|
MacOS.FileSpec.toString()
MacOS.FileSpec.toSource() |
returns the file or folder specification as a string
|
| MacOS.FileSpec.name |
read-only
returns the file/folder name
|
| MacOS.FileSpec.container |
read-only
returns a MacOS.FileSpec representing the file or folder containing
this MacOS.FileSpec
|
| MacOS.FileSpec.volume |
read-only
returns the name of the volume on which the file resides
|
| MacOS.FileSpec.folder |
read-only
returns a boolean value indicating of the file specification is
a folder (true) or not (false)
|
| MacOS.FileSpec.alias |
read-only
returns a MacOS.AEDesc value containing
an Alias referring to the file |