Files

Technology area
Installer

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.

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.

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.