Package jadex.binary

Class SimpleDateFormatCodec

    • Field Detail

    • Constructor Detail

      • SimpleDateFormatCodec

        public SimpleDateFormatCodec()
    • Method Detail

      • isApplicable

        public boolean isApplicable​(java.lang.Class<?> clazz)
        Tests if the decoder can decode the class.
        Specified by:
        isApplicable in interface IDecoderHandler
        Overrides:
        isApplicable in class BeanCodec
        Parameters:
        clazz - The class.
        Returns:
        True, if the decoder can decode this class.
      • decode

        public java.lang.Object decode​(java.lang.Class<?> clazz,
                                       IDecodingContext context)
        Add pattern property with applyPattern method.
        Specified by:
        decode in interface IDecoderHandler
        Overrides:
        decode in class AbstractCodec
        Parameters:
        clazz - The class of the object.
        context - The decoding context.
        Returns:
        The decoded object.