All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.tsl2.nano.replication.serializer.Serializer Maven / Gradle / Ivy

package de.tsl2.nano.replication.serializer;

import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.InputStream;

public interface Serializer {
    String getKey();
    String getExtension();
    ByteArrayOutputStream serialize(Object obj) throws IOException;
     T deserialize(InputStream stream, Class type) throws IOException, ClassNotFoundException;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy