resourceProvider

open fun resourceProvider(classLoader: ClassLoader, pathToResource: String, encoding: Charset): Provider(source)

Provide a Provider from the resource found in class loader with the provided encoding. As resource is accessed through a class loader, a leading "/" is not allowed in pathToResource


open fun resourceProvider(pathToResource: String, encoding: Charset): Provider(source)

Provide a Provider from the resource found in the current class loader with the provided encoding. As resource is accessed through a class loader, a leading "/" is not allowed in pathToResource


open fun resourceProvider(pathToResource: String): Provider(source)

Provide a Provider from the resource found in the current class loader with UTF-8 encoding. As resource is accessed through a class loader, a leading "/" is not allowed in pathToResource