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

org.ssf4j.Serializer Maven / Gradle / Ivy

There is a newer version: 0.4
Show newest version
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