CommonFileUtils

Internal util. fx

Functions

Link copied to clipboard
Link copied to clipboard
fun replaceFileExtension(filePath: String, newExtension: String): String

Given filePath to a fully qualified file, replace just the extension.

Link copied to clipboard
fun replaceFileName(filePath: String, newName: String): String

Replaces the file name portion to a fully qualified file filePath.