Package jadex.binary

Class URLCodec

    • Constructor Detail

      • URLCodec

        public URLCodec()
    • Method Detail

      • isApplicable

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

        public java.lang.Object createObject​(java.lang.Class<?> clazz,
                                             IDecodingContext context)
        Creates the object during decoding.
        Specified by:
        createObject in class AbstractCodec
        Parameters:
        clazz - The class of the object.
        context - The decoding context.
        Returns:
        The created object.