Interface Encoder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.Object encode​(java.lang.Object source)
      Encodes an "Object" and returns the encoded content as an Object.
    • Method Detail

      • encode

        java.lang.Object encode​(java.lang.Object source)
                         throws EncoderException
        Encodes an "Object" and returns the encoded content as an Object. The Objects here may just be byte[] or Strings depending on the implementation used.
        Parameters:
        source - An object to encode
        Returns:
        An "encoded" Object
        Throws:
        EncoderException - An encoder exception is thrown if the encoder experiences a failure condition during the encoding process.