Interface ObjectDecoder

All Superinterfaces:
Identifiable
All Known Subinterfaces:
ObjectCodec

public interface ObjectDecoder extends Identifiable
API for a service that can decode objects from alternate representations.
Since:
1.69
Version:
1.0
Author:
matt
See Also:
  • Method Details

    • decodeFromBytes

      Object decodeFromBytes(byte[] data, Map<String,?> parameters) throws IOException
      Encode an object into a byte array.
      Parameters:
      data - the data to decode
      parameters - optional parameters to pass to the decoder
      Returns:
      the decoded object, never null
      Throws:
      IOException - if a decoding problem occurs