InfoProperties

open class InfoProperties : Iterable<T>

Base class for components exposing unstructured data with dedicated methods for well known keys.

Author

Stephane Nicoll

Since

1.4.0

Inheritors

Constructors

Link copied to clipboard
constructor(entries: Properties)
Create an instance with the specified entries.

Types

Link copied to clipboard
class Entry
Property entry.

Functions

Link copied to clipboard
open fun forEach(action: Consumer<in T>)
Link copied to clipboard
open fun get(key: String): String
Return the value of the specified property or null.
Link copied to clipboard
open fun getInstant(key: String): Instant
Return the value of the specified property as an Instant or null if the value is not a valid Long representation of an epoch time.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Return a PropertySource of this instance.