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

org.ssf4j.purplejrank.PurpleJrankSerialization Maven / Gradle / Ivy

There is a newer version: 0.4
Show newest version
package org.ssf4j.purplejrank;

import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;

import org.ssf4j.Serialization;

/**
 * Serialization facade that uses Purple Jrank
 * @author robin
 *
 */
public class PurpleJrankSerialization implements Serialization {

	/**
	 * {@inheritDoc}
	 */
	@Override
	public  PurpleJrankSerializer newSerializer(OutputStream out, Class type)
			throws IOException {
		return new PurpleJrankSerializer(out);
	}

	/**
	 * {@inheritDoc}
	 */
	@Override
	public  PurpleJrankDeserializer newDeserializer(InputStream in, Class type)
			throws IOException {
		return new PurpleJrankDeserializer(in);
	}


}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy