Lucee Function Reference

getpropertyfile()

Read the properties from a properties file.

Example

getpropertyfile(string filePath,[string encoding]):struct

Arguments

The arguments for this function are set. You can not use other arguments except the following ones.
Name Type Required Default Value Description
filePath string  Yes   Path of the properties initialization file  
encoding string  No UTF-8 Encoding for the properties file