Package wisp.resources

Types

Link copied to clipboard
object ClasspathResourceLoaderBackend : ResourceLoader.Backend

Read-only resources that are fetched from either the deployed .jar file or the local filesystem.

Link copied to clipboard
object FilesystemLoaderBackend : ResourceLoader.Backend

Read-only resources that are fetched from the local filesystem using absolute paths.

Link copied to clipboard
class MemoryResourceLoaderBackend : ResourceLoader.Backend

Read-write resources stored only in memory. Most useful for testing. It is possible to have multiple instances of this backend.

Link copied to clipboard
open class ResourceLoader(backends: Map<String, ResourceLoader.Backend>)

ResourceLoader is a testable API for loading resources from the classpath, from the filesystem, from memory, or from another Backend source.