2010-09-22 19:04:10 +02:00
|
|
|
package com.google.refine.importers;
|
2010-08-06 07:04:25 +02:00
|
|
|
|
|
|
|
import java.io.InputStream;
|
|
|
|
import java.util.Properties;
|
|
|
|
|
2010-09-22 19:04:10 +02:00
|
|
|
import com.google.refine.ProjectMetadata;
|
|
|
|
import com.google.refine.model.Project;
|
2010-08-06 07:04:25 +02:00
|
|
|
|
|
|
|
public interface StreamImporter extends Importer {
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @param inputStream stream to be imported
|
|
|
|
* @param project project to import stream into
|
2010-09-17 03:00:23 +02:00
|
|
|
* @param metadata metadata of new project
|
2010-08-06 07:04:25 +02:00
|
|
|
* @param options
|
|
|
|
* @throws ImportException
|
|
|
|
*/
|
|
|
|
public void read(InputStream inputStream, Project project,
|
2010-09-17 03:00:23 +02:00
|
|
|
ProjectMetadata metadata, Properties options) throws ImportException;
|
2010-08-06 07:04:25 +02:00
|
|
|
|
|
|
|
}
|