FF4kConfigurationParser

Interface for parsing and exporting FF4k configurations.

Implementations of this interface handle the serialization and deserialization of FF4k configuration data from various sources (files, resources) and formats.

Parameters

C

The type of configuration object this parser produces and consumes.

See also

Inheritors

Functions

Link copied to clipboard
abstract suspend fun export(configuration: C): String

Exports a configuration object to its serialized string representation.

Link copied to clipboard
abstract suspend fun parseConfigurationFile(file: String): C

Parses a configuration from a file on the filesystem.

Link copied to clipboard
abstract suspend fun parseConfigurationResource(file: String): C

Parses a configuration from a resource file bundled with the application.