public class ResourceDecoderRegistry extends Object
ResourceDecoder
s capable of decoding arbitrary data types
into arbitrary resource types from highest priority decoders to lowest priority decoders.Constructor and Description |
---|
ResourceDecoderRegistry() |
Modifier and Type | Method and Description |
---|---|
<T,R> void |
append(ResourceDecoder<T,R> decoder,
Class<T> dataClass,
Class<R> resourceClass) |
<T,R> List<ResourceDecoder<T,R>> |
getDecoders(Class<T> dataClass,
Class<R> resourceClass) |
<T,R> List<Class<R>> |
getResourceClasses(Class<T> dataClass,
Class<R> resourceClass) |
<T,R> void |
prepend(ResourceDecoder<T,R> decoder,
Class<T> dataClass,
Class<R> resourceClass) |
public <T,R> List<ResourceDecoder<T,R>> getDecoders(Class<T> dataClass, Class<R> resourceClass)
public <T,R> List<Class<R>> getResourceClasses(Class<T> dataClass, Class<R> resourceClass)
public <T,R> void append(ResourceDecoder<T,R> decoder, Class<T> dataClass, Class<R> resourceClass)
public <T,R> void prepend(ResourceDecoder<T,R> decoder, Class<T> dataClass, Class<R> resourceClass)