com.qiniu.datasource.InputSource Maven / Gradle / Ivy
package com.qiniu.datasource;
import com.qiniu.common.QiniuException;
import com.qiniu.convert.LineToMap;
import com.qiniu.interfaces.ILineProcess;
import com.qiniu.interfaces.ITypeConvert;
import com.qiniu.util.FileUtils;
import com.qiniu.util.HttpRespUtils;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.util.Map;
public class InputSource {
private String parse;
private String separator;
private String addKeyPrefix;
private String rmKeyPrefix;
private Map indexMap;
private boolean isQupload;
public InputSource(String parse, String separator, String addKeyPrefix, String rmKeyPrefix,
Map indexMap) {
this.parse = parse;
this.separator = separator;
this.addKeyPrefix = addKeyPrefix;
this.rmKeyPrefix = rmKeyPrefix;
this.indexMap = indexMap;
}
public void export(InputStream inputStream, ILineProcess
© 2015 - 2024 Weber Informatics LLC | Privacy Policy