ClasspathResourceLoaderBackend

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

This uses the scheme classpath:.

Properties

Link copied to clipboard
const val SCHEME: String

Functions

Link copied to clipboard
open fun all(): Set<String>
Link copied to clipboard
open override fun exists(path: String): Boolean
Link copied to clipboard
open override fun list(path: String): List<String>
Link copied to clipboard
open override fun open(path: String): BufferedSource?
Link copied to clipboard
open fun put(path: String, data: ByteString)
Link copied to clipboard
open fun unwatch(path: String)
Link copied to clipboard
open fun watch(path: String, resourceChangedListener: (address: String) -> Unit)