Package org.readium.r2.shared.util.resource
See: Description
-
Class Summary Class Description BufferingResource Wraps a Resource and buffers its content. FallbackResource Resource that will act as a proxy to a fallback resource if the originalResource errors out. InMemoryResource Creates a Resource serving a ByteArray. LazyResource Wraps a Resource which will be created only when first accessing one of its members. Builder Properties Exception FailureResource Creates a Resource that will always return the given error. SchemeNotSupported Error CompositeResourceFactory A composite ResourceFactory which tries several factories until it finds one which supports the url scheme. SingleResourceContainer A Container for a single Resource. StringResource Creates a Resource serving a String. SynchronizedResource Protects the access to a wrapped resource with a mutex to make it thread-safe. TransformingContainer Transforms the resources' content of a child fetcher using a list of EntryTransformer functions. TransformingResource Transforms the bytes of resource on-the-fly. FilePropertiesKt BufferingResourceKt FallbackResourceKt LazyResourceKt ResourceKt SynchronizedResourceKt TransformingResourceKt -
Interface Summary Interface Description Resource Acts as a proxy to an actual resource by handling read access. ResourceFactory A factory to read Resources from Urls.