WowResourceLocator

class WowResourceLocator(configDirectory: Path = Path.of("config"), classLoader: ClassLoader = Thread.currentThread().contextClassLoader ?: WowResourceLocator::class.java.classLoader, pathReader: (Path) -> String = Files::readString)

Constructors

Link copied to clipboard
constructor(configDirectory: Path = Path.of("config"), classLoader: ClassLoader = Thread.currentThread().contextClassLoader ?: WowResourceLocator::class.java.classLoader, pathReader: (Path) -> String = Files::readString)

Functions

Link copied to clipboard
fun findClasspath(feature: String, resourceKey: String): List<WowResource>
Link copied to clipboard
fun findWorkingDirectory(feature: String, resourceKey: String): WowResource?