com.scarabsoft.jrest.converter.Converter Maven / Gradle / Ivy
package com.scarabsoft.jrest.converter;
import java.io.IOException;
import java.io.InputStream;
import java.util.Collection;
public interface Converter {
T convert(InputStream stream) throws IOException;
Collection convertCollection(InputStream inputStream, Class extends Collection> collectionClazz) throws IOException;
}