T
- the class of decoder that will be produced.public interface DecoderFactory<T>
Modifier and Type | Method and Description |
---|---|
T |
make()
Produce a new instance of a decoder with type
T . |
T make() throws java.lang.IllegalAccessException, java.lang.InstantiationException, java.lang.NoSuchMethodException, java.lang.reflect.InvocationTargetException
T
.java.lang.IllegalAccessException
- if the factory class cannot be instantiated.java.lang.InstantiationException
- if the factory class cannot be instantiated.java.lang.NoSuchMethodException
- if the factory class cannot be instantiated.java.lang.reflect.InvocationTargetException
- if the factory class cannot be instantiated.