Class PrimitiveDecoders.CharacterDecoder

    • Constructor Detail

      • CharacterDecoder

        public CharacterDecoder()
    • Method Detail

      • decode

        public java.lang.Character decode​(java.lang.String s)
                                   throws DecodeException
        Description copied from interface: Decoder.Text
        Decode the given String into an object of type T.
        Parameters:
        s - string to be decoded.
        Returns:
        the decoded message as an object of type T
        Throws:
        DecodeException - If the provided string cannot be decoded to type T