INI

class INI(fileName: String) : Settings<String>

The key of ini parameters will be "section_name::key", and if there is no section, it will be "key".

Author

KKoishi_

Constructors

Link copied to clipboard
constructor(fileName: String)

Properties

Link copied to clipboard
val file: Path

Functions

Link copied to clipboard
open override fun addHandler(key: String, handle: (String) -> Unit)

Add setting entry handler.

Link copied to clipboard
open override fun getValue(key: String): String
Link copied to clipboard
fun load()
Link copied to clipboard
open override fun read(): Boolean

Read settings.