(.js)
laraImport("lara.util.LocalFolder");
(.lara)
import lara.util.LocalFolder;
Classes:
new LocalFolder(foldername)Provides access to files in a specific folder.
getBaseFolder()getFile(path)Returns a file from the path relative to the LocalFolder location.
<p>If the path does not exist, or is not a file, throws an exception.
getFileList(path)getFolder(path)Returns a folder from the path relative to the LocalFolder location.
<p>If the path does not exist, or is not a folder, throws an exception.
getJson(path)getString(path)hasFolder(path)