tuweni / org.apache.tuweni.config / Configuration / inputPositionOf

inputPositionOf

@Nullable abstract fun inputPositionOf(key: String!): DocumentPosition? (source)

Get the position where a key is defined in the TOML document.

Parameters

key - String!: A configuration key (e.g. "server.address.port").

Exceptions

IllegalArgumentException - If the key cannot be parsed.

Return
DocumentPosition?: The input position, or null if the key was not set in this configuration.