forked from D-Net/dnet-hadoop
moved some classes to package to make code clearer
This commit is contained in:
parent
d9d2060561
commit
c37f2bd1b5
|
@ -1,12 +1,14 @@
|
||||||
package eu.dnetlib.dhp;
|
package eu.dnetlib.dhp;
|
||||||
|
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
import java.util.Arrays;
|
|
||||||
import java.util.List;
|
|
||||||
|
|
||||||
import com.fasterxml.jackson.databind.ObjectMapper;
|
import com.fasterxml.jackson.databind.ObjectMapper;
|
||||||
import com.google.gson.Gson;
|
import com.google.gson.Gson;
|
||||||
import eu.dnetlib.dhp.application.ArgumentApplicationParser;
|
import eu.dnetlib.dhp.application.ArgumentApplicationParser;
|
||||||
|
import eu.dnetlib.dhp.community.CommunityConfiguration;
|
||||||
|
import eu.dnetlib.dhp.community.ProtoMap;
|
||||||
|
import eu.dnetlib.dhp.community.QueryInformationSystem;
|
||||||
|
import eu.dnetlib.dhp.community.ResultTagger;
|
||||||
import eu.dnetlib.dhp.schema.oaf.*;
|
import eu.dnetlib.dhp.schema.oaf.*;
|
||||||
import org.apache.commons.io.IOUtils;
|
import org.apache.commons.io.IOUtils;
|
||||||
import org.apache.hadoop.io.Text;
|
import org.apache.hadoop.io.Text;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package eu.dnetlib.dhp;
|
package eu.dnetlib.dhp.community;
|
||||||
|
|
||||||
import com.google.gson.Gson;
|
import com.google.gson.Gson;
|
||||||
import org.apache.commons.logging.Log;
|
import org.apache.commons.logging.Log;
|
|
@ -1,4 +1,4 @@
|
||||||
package eu.dnetlib.dhp;
|
package eu.dnetlib.dhp.community;
|
||||||
|
|
||||||
import com.google.common.collect.Lists;
|
import com.google.common.collect.Lists;
|
||||||
import com.google.common.collect.Maps;
|
import com.google.common.collect.Maps;
|
||||||
|
@ -8,7 +8,6 @@ import com.google.gson.GsonBuilder;
|
||||||
|
|
||||||
import eu.dnetlib.dhp.selectioncriteria.InterfaceAdapter;
|
import eu.dnetlib.dhp.selectioncriteria.InterfaceAdapter;
|
||||||
import eu.dnetlib.dhp.selectioncriteria.Selection;
|
import eu.dnetlib.dhp.selectioncriteria.Selection;
|
||||||
import org.apache.commons.lang.StringUtils;
|
|
||||||
import org.apache.commons.logging.Log;
|
import org.apache.commons.logging.Log;
|
||||||
import org.apache.commons.logging.LogFactory;
|
import org.apache.commons.logging.LogFactory;
|
||||||
|
|
||||||
|
@ -18,7 +17,6 @@ import java.util.HashMap;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.stream.Collectors;
|
import java.util.stream.Collectors;
|
||||||
import java.util.stream.Stream;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Created by miriam on 02/08/2018.
|
* Created by miriam on 02/08/2018.
|
|
@ -1,4 +1,4 @@
|
||||||
package eu.dnetlib.dhp;
|
package eu.dnetlib.dhp.community;
|
||||||
|
|
||||||
import com.google.common.collect.Lists;
|
import com.google.common.collect.Lists;
|
||||||
import com.google.common.collect.Maps;
|
import com.google.common.collect.Maps;
|
|
@ -1,4 +1,4 @@
|
||||||
package eu.dnetlib.dhp;
|
package eu.dnetlib.dhp.community;
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package eu.dnetlib.dhp;
|
package eu.dnetlib.dhp.community;
|
||||||
|
|
||||||
|
|
||||||
import com.google.gson.Gson;
|
import com.google.gson.Gson;
|
|
@ -1,4 +1,4 @@
|
||||||
package eu.dnetlib.dhp;
|
package eu.dnetlib.dhp.community;
|
||||||
|
|
||||||
|
|
||||||
import com.google.gson.Gson;
|
import com.google.gson.Gson;
|
|
@ -1,4 +1,4 @@
|
||||||
package eu.dnetlib.dhp;
|
package eu.dnetlib.dhp.community;
|
||||||
|
|
||||||
import com.google.gson.Gson;
|
import com.google.gson.Gson;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package eu.dnetlib.dhp;
|
package eu.dnetlib.dhp.community;
|
||||||
|
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package eu.dnetlib.dhp;
|
package eu.dnetlib.dhp.community;
|
||||||
|
|
||||||
import com.google.common.base.Joiner;
|
import com.google.common.base.Joiner;
|
||||||
import eu.dnetlib.dhp.utils.ISLookupClientFactory;
|
import eu.dnetlib.dhp.utils.ISLookupClientFactory;
|
|
@ -1,4 +1,4 @@
|
||||||
package eu.dnetlib.dhp;
|
package eu.dnetlib.dhp.community;
|
||||||
import com.google.gson.Gson;
|
import com.google.gson.Gson;
|
||||||
import com.jayway.jsonpath.DocumentContext;
|
import com.jayway.jsonpath.DocumentContext;
|
||||||
import com.jayway.jsonpath.JsonPath;
|
import com.jayway.jsonpath.JsonPath;
|
||||||
|
@ -9,7 +9,7 @@ import java.util.*;
|
||||||
import java.util.stream.Collectors;
|
import java.util.stream.Collectors;
|
||||||
import java.util.stream.Stream;
|
import java.util.stream.Stream;
|
||||||
|
|
||||||
import static eu.dnetlib.dhp.TagginConstants.*;
|
import static eu.dnetlib.dhp.community.TagginConstants.*;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
|
@ -1,4 +1,4 @@
|
||||||
package eu.dnetlib.dhp;
|
package eu.dnetlib.dhp.community;
|
||||||
|
|
||||||
import com.google.gson.Gson;
|
import com.google.gson.Gson;
|
||||||
import com.google.gson.reflect.TypeToken;
|
import com.google.gson.reflect.TypeToken;
|
|
@ -1,4 +1,4 @@
|
||||||
package eu.dnetlib.dhp;
|
package eu.dnetlib.dhp.community;
|
||||||
|
|
||||||
|
|
||||||
public class TagginConstants {
|
public class TagginConstants {
|
|
@ -1,4 +1,4 @@
|
||||||
package eu.dnetlib.dhp;
|
package eu.dnetlib.dhp.community;
|
||||||
|
|
||||||
import com.google.gson.Gson;
|
import com.google.gson.Gson;
|
||||||
import org.dom4j.Node;
|
import org.dom4j.Node;
|
Loading…
Reference in New Issue