PlatformFileReader

actual class PlatformFileReader

Android implementation of PlatformFileReader.

expect class PlatformFileReader

Platform-specific file reader for loading theme configurations.

actual class PlatformFileReader

iOS implementation of PlatformFileReader.

actual class PlatformFileReader

JVM implementation of PlatformFileReader.

Constructors

Link copied to clipboard
constructor()
expect constructor()
constructor()
constructor()

Functions

Link copied to clipboard
actual fun readText(resourcePath: String): String

Reads text content from an Android asset or resource file. For Android, this function assumes the resource is an asset in the assets folder.

expect fun readText(resourcePath: String): String

Reads text content from a platform-specific resource or file.

actual fun readText(resourcePath: String): String

Reads text content from an iOS bundle resource. For iOS, this function assumes the resource is in the main bundle.

actual fun readText(resourcePath: String): String

Reads text content from a JVM resource or file using InputStream.