FileLib Plugin

FolderItemInfo Class

This class provides extra information for FolderItems. The class will cache things and try to do queries in as optimized way as possible, so if for example reading 2 attributes then it will avoid checking disk information more often than is actually needed.

Object
   FolderItemInfo

class FolderItemInfo

Constructors

FolderItemInfoThe constructor for the FolderItemInfo class takes a FolderItem and a hint of what you are going to read.

Methods

AccessDateRetrieves the date as local time when the file was last accessed.
AccessDateUTCRetrieves the date as UTC time when the file was last accessed.
AttributeModificationDateRetrieves the date as local time when attributes of the file were last modified.
AttributeModificationDateUTCRetrieves the date as UTC time when attributes of the file were last modified.
BackupDateRetrieves the date as local time that the file was last backed up.
BackupDateUTCRetrieves the date as UTC time that the file was last backed up.
ContentModificationDateRetrieves the date as local time when the content of the file was last modified.
ContentModificationDateUTCRetrieves the date as UTC time when the content of the file was last modified.
CreationDateRetrieves the date as local time when the file was created.
CreationDateUTCRetrieves the date as UTC time when the file was created.
DesktopLabelNumberReads or writes the label number for the specified file.
DesktopLocationReads or writes the position of the top-left corner of a file's icon.
DocumentTypeReads the information defined in the system which describes documents, example: "FreeHand graphic"
FlagsReads or writes all file flags as a single Integer.
PermissionsRetrieves Unix permissions of the file.

Supported Platforms:

  • PPC - MacOS 9
  • Carbon - MacOS 9 and MacOS X (PEF)
  • MacOS X PPC - (Mach-O)
  • MacOS X Universal Binary (Mach-O)
  • Win32 - Windows
  • Linux x86