
CHAPTER 10: Scripting Access to XMP Metadata XMPScript object reference 271
XMPFileInfo object
This object is returned by XMPFile.getFileInfo(). The read-only properties describe the file represented by
the XMPFile object
.
N
OTE: This object is not related to the XMP File Info dialog that Adobe Creative Suite 4 applications use to
display metadata.
XMPFileInfo object properties
filePath
String The absolute path of the file, in JavaScript notation.
format
Number One of the file-format constants. See “File format numeric constants” on
page 264.
handlerFlags
Number The features that are supported for this format. A logical OR of these
bit-flag constants:
XMPConst.HANDLER_CAN_INJECT_XMP — Can inject first-time XMP
into an existing file.
XMPConst.HANDLER_CAN_EXPAND — Can expand XMP or other
metadata in an existing file.
XMPConst.HANDLER_CAN_REWRITE — Can copy one file to another,
writing new metadata.
XMPConst.HANDLER_PPEFERS_IN_PLACE — Can expand, but prefers
in-place update.
XMPConst.HANDLER_CAN_RECONCILE — Supports reconciliation
between XMP and other forms.
XMPConst.HANDLER_ALLOWS_ONLY_XMP — Allows access to just the
XMP, ignoring other forms.
XMPConst.HANDLER_RETURNS_RAW_PACKETS — File handler returns
raw XMP packet information.
XMPConst.HANDLER_RETURNS_TNAIL — File handler returns native
thumbnail.
XMPConst.HANDLER_OWNS_FILE — File handler does the file open and
close.
XMPConst.HANDLER_ALLOWS_SAFE_UPDATE — File handler allows
crash-safe file updates.
Comentários a estes Manuais