loadAsText

Attempts to load the given filename as a text KeyValue. This method will swallow any exceptions that occur when reading, use readAsText if you wish to handle exceptions.

Return

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

Parameters

path

The path to the file to load.