Accessing paths at run time

The SPL runtime APIs provide functions to access special paths at run time. These functions are provided as part of the SPL::ProcessingElement class.

  • getApplicationDirectory(): The absolute path to the application directory.
  • getDataDirectory(): The absolute path to the directory that contains the application data.
  • getOutputDirectory(): The absolute path to the output directory.
  • getToolkitDirectory(): The absolute path to the directory that contains the toolkit.

These APIs provide access to the runtime locations of the application, data, output, and toolkit directories.