properties

fun properties(url: URL): Map<String, String>

Load a '*.properties' file from a URL transforming the content into a plain map. If the resource can not be found, a com.hexagonkt.core.ResourceNotFoundException is thrown.

Return

Map containing the properties file data.

Parameters

url

URL pointing to the file to load.