ResourceDecoderRegistry

open class ResourceDecoderRegistry

Contains an ordered list of ResourceDecoders capable of decoding arbitrary data types into arbitrary resource types from highest priority decoders to lowest priority decoders.

Functions

Link copied to clipboard
open fun <T, R> append(    bucket: String,     decoder: ResourceDecoder<T, R>,     dataClass: Class<T>,     resourceClass: Class<R>)
Link copied to clipboard
open fun <T, R> getDecoders(dataClass: Class<T>, resourceClass: Class<R>): List<ResourceDecoder<T, R>>
Link copied to clipboard
open fun <T, R> getResourceClasses(dataClass: Class<T>, resourceClass: Class<R>): List<Class<R>>
Link copied to clipboard
open fun <T, R> prepend(    bucket: String,     decoder: ResourceDecoder<T, R>,     dataClass: Class<T>,     resourceClass: Class<R>)
Link copied to clipboard
open fun setBucketPriorityList(buckets: List<String>)