Mac OS X Reference Library Apple Developer
Search

Files

Technology area
Installer
Availability
Available in Mac OS X v10.4 and later.

Overview

The Files object provides methods for accessing files. This object is accessed using the system.files property.

Tasks

Accessing Files

Methods

bundleAtPath

Provides the contents of the info plist file of the identified bundle.

bundleAtPath( filePath)

Parameters
filePath

String with the path of the desired bundle.

Return Value

Dictionary (associative array) with the contents of the bundle’s info plist file.

Availability
  • Available in Mac OS X v10.4 and later.

fileExistsAtPath

Indicates whether the given path identifies an existent file.

fileExistsAtPath( filePath)

Parameters
filePath

String with the path of the desired file.

Return Value

true when filePath identifies an existent file; false otherwise.

Availability
  • Available in Mac OS X v10.4 and later.

plistAtPath

Provides the contents of a given plist file.

plistAtPath( filePath)

Parameters
filePath

String with the path of the desired file.

Return Value

Dictionary (associative array) with the contents of the identified plist file.

Availability
  • Available in Mac OS X v10.4 and later.



Last updated: 2008-12-16

Did this document help you? Yes It's good, but... Not helpful...