public class ResourceEncoderRegistry extends Object
ResourceEncoder
s capable of encoding arbitrary resource
types.Constructor and Description |
---|
ResourceEncoderRegistry() |
Modifier and Type | Method and Description |
---|---|
<Z> void |
append(Class<Z> resourceClass,
ResourceEncoder<Z> encoder) |
<Z> ResourceEncoder<Z> |
get(Class<Z> resourceClass) |
<Z> void |
prepend(Class<Z> resourceClass,
ResourceEncoder<Z> encoder) |
public <Z> void append(@NonNull Class<Z> resourceClass, @NonNull ResourceEncoder<Z> encoder)
public <Z> void prepend(@NonNull Class<Z> resourceClass, @NonNull ResourceEncoder<Z> encoder)
@Nullable public <Z> ResourceEncoder<Z> get(@NonNull Class<Z> resourceClass)