getRWSiteDataFile

fun Tooling.getRWSiteDataFile(child: String?, appName: String, appVersion: String? = null, appAuthor: String? = null, multiPath: Boolean = false, createIfNotExists: Boolean = false): File

Get a read-write able file in the application site data directory (platform dependent).

Return

a File in a platform dependent site data folder.

Parameters

child

the child in the site data directory or null to get the root dir.

appName

the name of the application which is used.

appVersion

specify if the file is dependent on a specific application version.

appAuthor

specify if the file is dependent on a specific application author.

multiPath

whether multi path should be used (Windows) or not.

createIfNotExists

create file if it doesn't exist.