1
0
Fork 0

removing not needed classes

This commit is contained in:
Miriam Baglioni 2021-07-28 11:25:43 +02:00
parent cc0d3d8a7b
commit 3d2bba3d5d
2 changed files with 0 additions and 188 deletions

View File

@ -1,37 +0,0 @@
package eu.dnetlib.doiboost;
import org.apache.commons.io.IOUtils;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import eu.dnetlib.dhp.actionmanager.project.utils.ReadCSV;
import eu.dnetlib.dhp.application.ArgumentApplicationParser;
public class GetCSV {
private static final Log log = LogFactory.getLog(eu.dnetlib.dhp.actionmanager.project.utils.ReadCSV.class);
public static void main(final String[] args) throws Exception {
final ArgumentApplicationParser parser = new ArgumentApplicationParser(
IOUtils
.toString(
GetCSV.class
.getResourceAsStream(
"/eu/dnetlib/dhp/doiboost/download_unibi_issn_gold_parameters.json")));
parser.parseArgument(args);
final String fileURL = parser.get("fileURL");
final String hdfsPath = parser.get("hdfsPath");
final String hdfsNameNode = parser.get("hdfsNameNode");
final String classForName = parser.get("classForName");
try (final ReadCSV readCSV = new ReadCSV(hdfsPath, hdfsNameNode, fileURL, ',')) {
log.info("Getting CSV file...");
readCSV.execute(classForName);
}
}
}

View File

@ -1,151 +0,0 @@
package eu.dnetlib.doiboost;
import java.io.Serializable;
public class UnibiGoldModel implements Serializable {
private String ISSN;
private String ISSN_L;
private String ISSN_IN_DOAJ;
private String ISSN_IN_ROAD;
private String ISSN_IN_PMC;
private String ISSN_IN_OAPC;
private String ISSN_IN_WOS;
private String ISSN_IN_SCOPUS;
private String JOURNAL_IN_DOAJ;
private String JOURNAL_IN_ROAD;
private String JOURNAL_IN_PMC;
private String JOURNAL_IN_OAPC;
private String JOURNAL_IN_WOS;
private String JOURNAL_IN_SCOPUS;
private String TITLE;
private String TITLE_SOURCE;
public String getISSN() {
return ISSN;
}
public void setISSN(String ISSN) {
this.ISSN = ISSN;
}
public String getISSN_L() {
return ISSN_L;
}
public void setISSN_L(String ISSN_L) {
this.ISSN_L = ISSN_L;
}
public String getISSN_IN_DOAJ() {
return ISSN_IN_DOAJ;
}
public void setISSN_IN_DOAJ(String ISSN_IN_DOAJ) {
this.ISSN_IN_DOAJ = ISSN_IN_DOAJ;
}
public String getISSN_IN_ROAD() {
return ISSN_IN_ROAD;
}
public void setISSN_IN_ROAD(String ISSN_IN_ROAD) {
this.ISSN_IN_ROAD = ISSN_IN_ROAD;
}
public String getISSN_IN_PMC() {
return ISSN_IN_PMC;
}
public void setISSN_IN_PMC(String ISSN_IN_PMC) {
this.ISSN_IN_PMC = ISSN_IN_PMC;
}
public String getISSN_IN_OAPC() {
return ISSN_IN_OAPC;
}
public void setISSN_IN_OAPC(String ISSN_IN_OAPC) {
this.ISSN_IN_OAPC = ISSN_IN_OAPC;
}
public String getISSN_IN_WOS() {
return ISSN_IN_WOS;
}
public void setISSN_IN_WOS(String ISSN_IN_WOS) {
this.ISSN_IN_WOS = ISSN_IN_WOS;
}
public String getISSN_IN_SCOPUS() {
return ISSN_IN_SCOPUS;
}
public void setISSN_IN_SCOPUS(String ISSN_IN_SCOPUS) {
this.ISSN_IN_SCOPUS = ISSN_IN_SCOPUS;
}
public String getJOURNAL_IN_DOAJ() {
return JOURNAL_IN_DOAJ;
}
public void setJOURNAL_IN_DOAJ(String JOURNAL_IN_DOAJ) {
this.JOURNAL_IN_DOAJ = JOURNAL_IN_DOAJ;
}
public String getJOURNAL_IN_ROAD() {
return JOURNAL_IN_ROAD;
}
public void setJOURNAL_IN_ROAD(String JOURNAL_IN_ROAD) {
this.JOURNAL_IN_ROAD = JOURNAL_IN_ROAD;
}
public String getJOURNAL_IN_PMC() {
return JOURNAL_IN_PMC;
}
public void setJOURNAL_IN_PMC(String JOURNAL_IN_PMC) {
this.JOURNAL_IN_PMC = JOURNAL_IN_PMC;
}
public String getJOURNAL_IN_OAPC() {
return JOURNAL_IN_OAPC;
}
public void setJOURNAL_IN_OAPC(String JOURNAL_IN_OAPC) {
this.JOURNAL_IN_OAPC = JOURNAL_IN_OAPC;
}
public String getJOURNAL_IN_WOS() {
return JOURNAL_IN_WOS;
}
public void setJOURNAL_IN_WOS(String JOURNAL_IN_WOS) {
this.JOURNAL_IN_WOS = JOURNAL_IN_WOS;
}
public String getJOURNAL_IN_SCOPUS() {
return JOURNAL_IN_SCOPUS;
}
public void setJOURNAL_IN_SCOPUS(String JOURNAL_IN_SCOPUS) {
this.JOURNAL_IN_SCOPUS = JOURNAL_IN_SCOPUS;
}
public String getTITLE() {
return TITLE;
}
public void setTITLE(String TITLE) {
this.TITLE = TITLE;
}
public String getTITLE_SOURCE() {
return TITLE_SOURCE;
}
public void setTITLE_SOURCE(String TITLE_SOURCE) {
this.TITLE_SOURCE = TITLE_SOURCE;
}
}