Specifications

Removing properties
Removes the property at the specified XMP location path
and the complete sub-tree rooted at the property. If the
property does not exist the function does nothing.
removeProperty( xmp-path : String,
prefix-map : Map )
Opaque data model
The Opaque data model describes a class that inherits all functions described in the Dataset class;
it does not add any functions to those of the Dataset class.
The Opaque data model does not provide access to its contents other than the backing file as a
whole. This data model can be used to associate a chunk of arbitrary, non-interpreted data with
a job.
FileStatistics class
The FileStatistics class allows retrieving certain statistics about file contents for a number of
supported file formats. The class does not allow modifying file contents.
Each FileStatistics instance references a particular file, which may be any file on the local file
system (whether it is a job or not). The FileStatistics class does not support folders.
Constructing
Constructs a FileStatistics instance associated with a file
specified through its absolute file path. If the specified path
FileStatistics( file-path : String
) : FileStatistics
references a folder rather than file, the constructed instance
behaves as if the referenced file doesn’t exist.
Getting file system attributes
The functions in this section work independently of the file’s file format.
Returns the absolute file path.
getPath( ) : String
Returns the filename including filename extension if present.
getName( ) : String
Returns the filename excluding filename extension.
getNameProper( ) : String
Returns the filename extension, or the empty string if there
is none.
getExtension( ) : String
Returns the Mac file type code as a 4-character string if
available, otherwise the empty string.
getMacType( ) : String
Returns the Mac creator code as a 4-character string if
available, otherwise the empty string.
getMacCreator( ) : String
Returns true if the file matches the specified file type,
specified as a filename extension, and false otherwise. A file
isType( ext : String ) : Boolean
486
Enfocus Switch 10