FileBind

open class FileBind(filePath: String, clazz: Class<*>, plugin: Plugin)

The class FileBind is used to bind a file to a class.

Parameters

filePath

The path of the file.

clazz

The class to bind the file to.

Constructors

Link copied to clipboard
constructor(filePath: String, clazz: Class<*>, plugin: Plugin)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard

Reads the file from the specified text and binds it to the class.

Link copied to clipboard
fun read()

Reads the file and binds it to the class.

Link copied to clipboard
fun save()

Saves the class to the file.