Class NemoEventEncoderFactory

  • All Implemented Interfaces:
    java.io.Serializable, EncoderFactory

    public final class NemoEventEncoderFactory
    extends java.lang.Object
    implements EncoderFactory
    A factory for NemoEventEncoder.
    See Also:
    Serialized Form
    • Constructor Detail

      • NemoEventEncoderFactory

        public NemoEventEncoderFactory​(EncoderFactory valueEncoderFactory)
    • Method Detail

      • create

        public EncoderFactory.Encoder create​(java.io.OutputStream outputStream)
                                      throws java.io.IOException
        Description copied from interface: EncoderFactory
        Get an encoder instance.
        Specified by:
        create in interface EncoderFactory
        Parameters:
        outputStream - the stream on which encoded bytes are written
        Returns:
        the encoder instance.
        Throws:
        java.io.IOException - if fail to get the instance.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object