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

fr.insee.eno.preprocessing.Preprocessor Maven / Gradle / Ivy

Go to download

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

There is a newer version: 2.10.2
Show newest version
package fr.insee.eno.preprocessing;

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

/**
 * Operates a set of transformation to prepare the generation.
 */
public interface Preprocessor {

	/**
	 * This method handles the preprocessing of an input file. TODO Exception is
	 * also weak, change to a more robust Exception
	 * 
	 * @param inputFile
	 *            The file to preprocess
	 * @param parameters
	 *            An optional parameters file
	 * @param survey
	 *            An optional parameters file
	 * @return the preprocessed file
	 * @throws Exception
	 *             when it goes wrong
	 */
	public ByteArrayOutputStream process(InputStream inputFile, byte[] parameters, String survey, String in2out) throws Exception;

	public String toString();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy