loadAsText

open fun loadAsText(path: String): KeyValue

Attempts to load the given filename as a text KeyValue.

Return

a KeyValue instance if the load was successful, or null on failure.

Parameters

path

The path to the file to load.