In this article
The extension mechanism to access local files, import and export data is focused on security, those giving the user full control of the process.
File Access
- Banana.IO
The Banana.IO class is used to read and write to files.- Banana.IO.LocalFile
The LocalFile class represents a file on the local file system.
- Banana.IO.LocalFile
- Banana.Application
- openDocument()
Opens the ac2 file located in filePath and returns an Object of type Banana.Document or undefined if the file is not found.
The path can be relative, in this case the base directory is the path of the current document.
- openDocument()
Import Data
You can create an extension specific for importing data.
- See: Import Extensions
Export Data
You can create an extension specific for exporting data.
- See: Export Extensions