
org.ssf4j.Serializer Maven / Gradle / Ivy
package org.ssf4j;
import java.io.Closeable;
import java.io.Flushable;
import java.io.IOException;
/**
* Facade interface for serializers
* @author robin
*
* @param The type to be serialized
*/
public interface Serializer extends Flushable, Closeable {
/**
* Serialize an instance of {@code T}
* @param object The object to serialize
* @throws IOException
*/
public void write(T object) throws IOException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy