Class Serializer
java.lang.Object
org.jpos.util.Serializer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Objectdeserialize(byte[] b) static <T> Tdeserialize(byte[] b, Class<T> clazz) deserializeStringMap(byte[] buf) static byte[]static <T> TserializeDeserialize(T obj) static byte[]
-
Constructor Details
-
Serializer
public Serializer()
-
-
Method Details
-
serialize
- Throws:
IOException
-
deserialize
- Throws:
IOExceptionClassNotFoundException
-
deserialize
public static <T> T deserialize(byte[] b, Class<T> clazz) throws IOException, ClassNotFoundException - Throws:
IOExceptionClassNotFoundException
-
serializeDeserialize
- Throws:
IOExceptionClassNotFoundException
-
serializeStringMap
- Throws:
IOException
-
deserializeStringMap
public static Map<String,String> deserializeStringMap(byte[] buf) throws ClassNotFoundException, IOException - Throws:
ClassNotFoundExceptionIOException
-