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

fr.insee.eno.postprocessing.Postprocessor Maven / Gradle / Ivy

Go to download

Eno is a tool that generates survey questionnaires starting from their formal description in DDI

The newest version!
package fr.insee.eno.postprocessing;

import java.io.ByteArrayOutputStream;
import java.io.InputStream;

/**
 * Transforms to the generated output depending on specified (parameterized)
 * options.
 */
public interface Postprocessor {

	ByteArrayOutputStream process(InputStream input, byte[] parametersFile, String survey) throws Exception;

	default ByteArrayOutputStream process(InputStream input, byte[] parametersFile, byte[] metadata, String survey) throws Exception{
		return this.process(input,parametersFile,survey);
	}
	
	default ByteArrayOutputStream process(InputStream input, byte[] parametersFile, byte[] metadata, byte[] specificTreatmentXsl, String survey) throws Exception{
		return this.process(input,parametersFile,metadata,survey);
	}
	
	default ByteArrayOutputStream process(InputStream input, byte[] parametersFile, byte[] metadata, byte[] specificTreatmentXsl, byte[] mapping, String survey) throws Exception{
		return this.process(input, parametersFile,metadata,specificTreatmentXsl,survey);
	}
	
	public String toString();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy