org.ssf4j.purplejrank.PurpleJrankSerialization Maven / Gradle / Ivy
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