Class Serializer
java.lang.Object
org.apache.kafka.common.utils.Serializer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Objectdeserialize(byte[] byteArray) static Objectdeserialize(InputStream inputStream) static Objectdeserialize(String fileName) static byte[]
-
Constructor Details
-
Serializer
public Serializer()
-
-
Method Details
-
serialize
- Throws:
IOException
-
deserialize
public static Object deserialize(InputStream inputStream) throws IOException, ClassNotFoundException - Throws:
IOExceptionClassNotFoundException
-
deserialize
- Throws:
IOExceptionClassNotFoundException
-
deserialize
- Throws:
IOExceptionClassNotFoundException
-