ToolSet / com.zndevs.toolset.tools / FileCreation

FileCreation

object FileCreation

Tools to help with the creation of files with default text

Functions

create fun create(file: File, contents: String): Unit
fun create(file: File, contents: ByteArray): Unit
Creates a file
resourceToDataFile fun resourceToDataFile(plugin: Plugin?, resourcePath: String, dataName: String): Unit
Creates a data file from a plugin resource