getRWUserConfigFile

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

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

Return

a File in a platform dependent user config folder.

Parameters

child

the child in the user config 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.

roaming

whether file should be created in the Roaming folder (Windows) or not.

createIfNotExists

create file if it doesn't exist.