@@ -0,0 +1,997 @@
+package de.tblsoft.solr.pipeline;%0A%0Aimport de.tblsoft.solr.pipeline.bean.Document;%0Aimport de.tblsoft.solr.util.IOUtils;%0A%0Aimport java.nio.charset.Charset;%0Aimport java.nio.charset.StandardCharsets;%0Aimport java.nio.file.Files;%0Aimport java.nio.file.Paths;%0A%0A/**%0A * Read a html from a file.%0A * It's for testing purpose.%0A */%0Apublic class HtmlFileReader extends AbstractReader %7B%0A%0A    public void read() %7B%0A%0A        String fieldName = getProperty(%22fieldName%22, %22http_payload%22);%0A        String filename = getProperty(%22filename%22, null);%0A        String absoluteFilename = IOUtils.getAbsoluteFile(getBaseDir(), filename);%0A        String charset = getProperty(%22charset%22, StandardCharsets.UTF_8.name());%0A%0A        try %7B%0A%0A            String html = IOUtils.getString(absoluteFilename);%0A%0A            Document document = new Document();%0A            document.setField(fieldName, html);%0A%0A            executer.document(document);%0A        %7D catch (Exception e) %7B%0A            throw new RuntimeException(e);%0A        %7D%0A    %7D%0A%7D%0A

make it possible to read multiple csv files