Package krati.io.serializer

Examples of krati.io.serializer.StringSerializer.deserialize()


   
    public void testStringSerializer() {
        Serializer<String> serializer = new StringSerializer();
       
        String str1 = TestSerializer.class.getSimpleName();
        String str2 = serializer.deserialize(serializer.serialize(str1));
        assertEquals(str1, str2);
    }
   
    public void testStringSerializerUtf8() {
        Serializer<String> serializer = new StringSerializerUtf8();
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.