Class CompatDecoderFactory

  • All Implemented Interfaces:
    ai.nexconn.chatui.picture.widget.longimage.DecoderFactory

    
    public class CompatDecoderFactory<T>
     implements DecoderFactory<T>
                        

    Compatibility factory to instantiate decoders with empty public constructors.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      T make() Produce a new instance of a decoder with type T.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CompatDecoderFactory

        CompatDecoderFactory(Class<out T> clazz)
    • Method Detail

      • make

         T make()

        Produce a new instance of a decoder with type T.

        Returns:

        a new instance of your decoder.