ResourceHandler

Provides access to resource-specific utility methods, for example factory methods that create various resources.

Functions

Link copied to clipboard
abstract fun bzip2(path: Any): ReadableResource
Creates resource that points to a bzip2 compressed file at the given path.
Link copied to clipboard
Returns a factory for creating TextResources from various sources such as strings, files, and archive entries.
Link copied to clipboard
abstract fun gzip(path: Any): ReadableResource
Creates resource that points to a gzip compressed file at the given path.