org.sklsft.commons.crypto.serialization.Serializer Maven / Gradle / Ivy
package org.sklsft.commons.crypto.serialization;
import java.io.IOException;
import java.text.ParseException;
import org.sklsft.commons.crypto.encoding.AesJsonObjectEncoder;
/**
* A very basic interface to serialize/deserialize objects
* Used by an {@link AesJsonObjectEncoder}
*
* @author Nicolas Thibault
*
*/
public interface Serializer {
String serialize (Object object) throws IOException;
T deserialize (String arg, Class targetClass) throws ParseException, IOException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy