fromString

fun fromString(content: String, origin: String? = null): PropertiesSource(source)

Parses properties text that is already in memory. origin, such as the file name, labels the source in ConfigLoader.explain reports.