Interface StringEncoder<O>

    • Method Detail

      • encode

        String encode​(O object)
        Encodes an object to another representation.
        Parameters:
        object - the object to encode.
        Returns:
        the encoded String
      • decode

        O decode​(String string)
        Decodes a string back to it's initial representation.
        Parameters:
        string - the string to decode.
        Returns:
        the decoded object