Interface IFormat
-
public interface IFormat
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description FormatDescriptiondeclareModel()StringgetId()IFormatgetInstance(FormatDescription formatDescription)Map<String,Object>parse(byte[] object)This method parses a byte[] and transforms the event object into a serialized version of the internal representationdefault voidreset()Needed for example for the CSV format in iterative protocols to ensure header is not send again When the reset is not required it can be ignored
-
-
-
Method Detail
-
getInstance
IFormat getInstance(FormatDescription formatDescription)
-
declareModel
FormatDescription declareModel()
-
getId
String getId()
-
parse
Map<String,Object> parse(byte[] object) throws ParseException
This method parses a byte[] and transforms the event object into a serialized version of the internal representation- Throws:
ParseException
-
reset
default void reset()
Needed for example for the CSV format in iterative protocols to ensure header is not send again When the reset is not required it can be ignored
-
-