repo stringlengths 1 191 ⌀ | file stringlengths 23 351 | code stringlengths 0 5.32M | file_length int64 0 5.32M | avg_line_length float64 0 2.9k | max_line_length int64 0 288k | extension_type stringclasses 1
value |
|---|---|---|---|---|---|---|
null | jabref-main/src/main/java/org/jabref/logic/importer/fetcher/GvkFetcher.java | package org.jabref.logic.importer.fetcher;
import java.net.MalformedURLException;
import java.net.URISyntaxException;
import java.net.URL;
import java.util.Arrays;
import java.util.Collection;
import java.util.Optional;
import org.jabref.logic.help.HelpFile;
import org.jabref.logic.importer.FetcherException;
import o... | 2,051 | 35 | 141 | java |
null | jabref-main/src/main/java/org/jabref/logic/importer/fetcher/IEEE.java | package org.jabref.logic.importer.fetcher;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.net.MalformedURLException;
import java.net.URISyntaxException;
import java.net.URL;
import java.util.ArrayList;
import java.util.List;
import java.util.Objects;
import jav... | 13,687 | 44.932886 | 137 | java |
null | jabref-main/src/main/java/org/jabref/logic/importer/fetcher/INSPIREFetcher.java | package org.jabref.logic.importer.fetcher;
import java.io.IOException;
import java.net.MalformedURLException;
import java.net.URISyntaxException;
import java.net.URL;
import java.util.ArrayList;
import java.util.List;
import java.util.Optional;
import org.jabref.logic.cleanup.FieldFormatterCleanup;
import org.jabref.... | 4,355 | 37.210526 | 121 | java |
null | jabref-main/src/main/java/org/jabref/logic/importer/fetcher/IacrEprintFetcher.java | package org.jabref.logic.importer.fetcher;
import java.io.IOException;
import java.net.URL;
import java.util.Objects;
import java.util.Optional;
import java.util.function.Predicate;
import java.util.regex.Pattern;
import org.jabref.logic.importer.FetcherException;
import org.jabref.logic.importer.FulltextFetcher;
imp... | 6,953 | 42.4625 | 116 | java |
null | jabref-main/src/main/java/org/jabref/logic/importer/fetcher/JstorFetcher.java | package org.jabref.logic.importer.fetcher;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.net.MalformedURLException;
import java.net.URISyntaxException;
import java.net.URL;
import java.nio.charset.StandardCharsets;
import java.util.ArrayList;
import java.util.... | 5,287 | 35.722222 | 121 | java |
null | jabref-main/src/main/java/org/jabref/logic/importer/fetcher/LibraryOfCongress.java | package org.jabref.logic.importer.fetcher;
import java.net.MalformedURLException;
import java.net.URISyntaxException;
import java.net.URL;
import org.jabref.logic.importer.FetcherException;
import org.jabref.logic.importer.IdBasedParserFetcher;
import org.jabref.logic.importer.ImportFormatPreferences;
import org.jabr... | 1,325 | 30.571429 | 122 | java |
null | jabref-main/src/main/java/org/jabref/logic/importer/fetcher/MathSciNet.java | package org.jabref.logic.importer.fetcher;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.net.MalformedURLException;
import java.net.URISyntaxException;
import java.net.URL;
import java.util.ArrayList;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import java... | 5,861 | 45.15748 | 133 | java |
null | jabref-main/src/main/java/org/jabref/logic/importer/fetcher/MedlineFetcher.java | package org.jabref.logic.importer.fetcher;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.net.MalformedURLException;
import java.net.URISyntaxException;
import java.net.URL;
import java.net.URLConnection;
import java.nio.charset.StandardCharsets;
import java.ut... | 9,429 | 42.256881 | 139 | java |
null | jabref-main/src/main/java/org/jabref/logic/importer/fetcher/Medra.java | package org.jabref.logic.importer.fetcher;
import java.net.MalformedURLException;
import java.net.URISyntaxException;
import java.net.URL;
import java.util.Collections;
import java.util.Optional;
import java.util.stream.IntStream;
import org.jabref.logic.cleanup.DoiCleanup;
import org.jabref.logic.importer.FetcherExc... | 4,639 | 39.347826 | 122 | java |
null | jabref-main/src/main/java/org/jabref/logic/importer/fetcher/MrDLibFetcher.java | package org.jabref.logic.importer.fetcher;
import java.io.IOException;
import java.net.URI;
import java.net.URISyntaxException;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.List;
import java.util.Optional;
import org.jabref.logic.importer.EntryBasedFetcher;
import org.jabref.logic.importer.... | 5,734 | 37.489933 | 135 | java |
null | jabref-main/src/main/java/org/jabref/logic/importer/fetcher/OpenAccessDoi.java | package org.jabref.logic.importer.fetcher;
import java.io.IOException;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.Objects;
import java.util.Optional;
import org.jabref.logic.importer.FulltextFetcher;
import org.jabref.model.entry.BibEntry;
import org.jabref.model.entry.field.Standard... | 2,671 | 33.701299 | 109 | java |
null | jabref-main/src/main/java/org/jabref/logic/importer/fetcher/ResearchGate.java | package org.jabref.logic.importer.fetcher;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.net.URISyntaxException;
import java.net.URL;
import java.util.ArrayList;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import java.util.strea... | 11,449 | 40.636364 | 219 | java |
null | jabref-main/src/main/java/org/jabref/logic/importer/fetcher/RfcFetcher.java | package org.jabref.logic.importer.fetcher;
import java.net.MalformedURLException;
import java.net.URISyntaxException;
import java.net.URL;
import java.util.Locale;
import java.util.Optional;
import org.jabref.logic.help.HelpFile;
import org.jabref.logic.importer.FetcherException;
import org.jabref.logic.importer.IdBa... | 2,221 | 33.184615 | 122 | java |
null | jabref-main/src/main/java/org/jabref/logic/importer/fetcher/ScienceDirect.java | package org.jabref.logic.importer.fetcher;
import java.io.IOException;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.Objects;
import java.util.Optional;
import java.util.stream.Collectors;
import org.jabref.logic.importer.FulltextFetcher;
import org.jabref.logic.importer.ImporterPrefere... | 7,583 | 41.133333 | 128 | java |
null | jabref-main/src/main/java/org/jabref/logic/importer/fetcher/SemanticScholar.java | package org.jabref.logic.importer.fetcher;
import java.io.IOException;
import java.net.MalformedURLException;
import java.net.URISyntaxException;
import java.net.URL;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import java.util.s... | 9,897 | 41.480687 | 137 | java |
null | jabref-main/src/main/java/org/jabref/logic/importer/fetcher/SpringerFetcher.java | package org.jabref.logic.importer.fetcher;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.net.MalformedURLException;
import java.net.URISyntaxException;
import java.net.URL;
import java.util.ArrayList;
import java.util.List;
import java.util.Optional;
import java.util.stream.Collectors;
... | 10,098 | 41.25523 | 165 | java |
null | jabref-main/src/main/java/org/jabref/logic/importer/fetcher/SpringerLink.java | package org.jabref.logic.importer.fetcher;
import java.io.IOException;
import java.net.URL;
import java.util.Objects;
import java.util.Optional;
import org.jabref.logic.importer.FulltextFetcher;
import org.jabref.logic.importer.ImporterPreferences;
import org.jabref.logic.preferences.FetcherApiKey;
import org.jabref.... | 3,421 | 37.022222 | 128 | java |
null | jabref-main/src/main/java/org/jabref/logic/importer/fetcher/TitleFetcher.java | package org.jabref.logic.importer.fetcher;
import java.util.Optional;
import org.jabref.logic.help.HelpFile;
import org.jabref.logic.importer.FetcherException;
import org.jabref.logic.importer.IdBasedFetcher;
import org.jabref.logic.importer.ImportFormatPreferences;
import org.jabref.logic.importer.WebFetchers;
impor... | 1,528 | 28.980392 | 99 | java |
null | jabref-main/src/main/java/org/jabref/logic/importer/fetcher/TrustLevel.java | package org.jabref.logic.importer.fetcher;
/**
* Discussion on the trust levels is available at our <a href="https://devdocs.jabref.org/advanced-reading/fetchers">documentation on fetchers</a>.
*/
public enum TrustLevel {
SOURCE(3),
PUBLISHER(2),
PREPRINT(1),
META_SEARCH(1),
UNKNOWN(0);
priv... | 467 | 19.347826 | 147 | java |
null | jabref-main/src/main/java/org/jabref/logic/importer/fetcher/ZbMATH.java | package org.jabref.logic.importer.fetcher;
import java.net.MalformedURLException;
import java.net.URISyntaxException;
import java.net.URL;
import java.util.Objects;
import java.util.Optional;
import java.util.stream.Collectors;
import org.jabref.logic.cleanup.FieldFormatterCleanup;
import org.jabref.logic.cleanup.Mov... | 6,390 | 45.311594 | 133 | java |
null | jabref-main/src/main/java/org/jabref/logic/importer/fetcher/isbntobibtex/DoiToBibtexConverterComIsbnFetcher.java | package org.jabref.logic.importer.fetcher.isbntobibtex;
import java.net.MalformedURLException;
import java.net.URISyntaxException;
import java.net.URL;
import java.util.Collections;
import java.util.List;
import java.util.stream.IntStream;
import java.util.stream.Stream;
import org.jabref.logic.importer.FetcherExcept... | 4,298 | 38.440367 | 122 | java |
null | jabref-main/src/main/java/org/jabref/logic/importer/fetcher/isbntobibtex/EbookDeIsbnFetcher.java | package org.jabref.logic.importer.fetcher.isbntobibtex;
import java.net.MalformedURLException;
import java.net.URISyntaxException;
import java.net.URL;
import org.jabref.logic.cleanup.FieldFormatterCleanup;
import org.jabref.logic.formatter.bibtexfields.NormalizeNamesFormatter;
import org.jabref.logic.formatter.bibte... | 2,204 | 39.090909 | 122 | java |
null | jabref-main/src/main/java/org/jabref/logic/importer/fetcher/isbntobibtex/IsbnFetcher.java | package org.jabref.logic.importer.fetcher.isbntobibtex;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Iterator;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import java.util.regex.Pattern;
import org.jabref.logic.help.HelpFile;
import org.jabref.logic.import... | 4,184 | 37.394495 | 122 | java |
null | jabref-main/src/main/java/org/jabref/logic/importer/fetcher/isbntobibtex/OpenLibraryIsbnFetcher.java | package org.jabref.logic.importer.fetcher.isbntobibtex;
import java.net.MalformedURLException;
import java.net.URISyntaxException;
import java.net.URL;
import java.util.Collections;
import java.util.List;
import java.util.Optional;
import java.util.stream.Collectors;
import java.util.stream.IntStream;
import java.util... | 7,046 | 40.210526 | 163 | java |
null | jabref-main/src/main/java/org/jabref/logic/importer/fetcher/transformers/AbstractQueryTransformer.java | package org.jabref.logic.importer.fetcher.transformers;
import java.util.Optional;
import java.util.StringJoiner;
import java.util.stream.Collectors;
import org.jabref.model.strings.StringUtil;
import org.apache.lucene.queryparser.flexible.core.nodes.BooleanQueryNode;
import org.apache.lucene.queryparser.flexible.co... | 9,159 | 35.787149 | 147 | java |
null | jabref-main/src/main/java/org/jabref/logic/importer/fetcher/transformers/ArXivQueryTransformer.java | package org.jabref.logic.importer.fetcher.transformers;
import java.util.Optional;
public class ArXivQueryTransformer extends YearRangeByFilteringQueryTransformer {
@Override
protected String getLogicalAndOperator() {
return " AND ";
}
@Override
protected String getLogicalOrOperator() {
... | 1,302 | 24.54902 | 104 | java |
null | jabref-main/src/main/java/org/jabref/logic/importer/fetcher/transformers/BiodiversityLibraryTransformer.java | package org.jabref.logic.importer.fetcher.transformers;
public class BiodiversityLibraryTransformer extends AbstractQueryTransformer {
@Override
protected String getLogicalAndOperator() {
return "+";
}
@Override
protected String getLogicalOrOperator() {
return "+";
}
@Ove... | 785 | 18.65 | 78 | java |
null | jabref-main/src/main/java/org/jabref/logic/importer/fetcher/transformers/CiteSeerQueryTransformer.java | package org.jabref.logic.importer.fetcher.transformers;
import java.util.Calendar;
import java.util.Optional;
import org.jabref.model.strings.StringUtil;
import kong.unirest.json.JSONArray;
import kong.unirest.json.JSONObject;
public class CiteSeerQueryTransformer extends AbstractQueryTransformer {
private JSO... | 3,860 | 30.909091 | 84 | java |
null | jabref-main/src/main/java/org/jabref/logic/importer/fetcher/transformers/CollectionOfComputerScienceBibliographiesQueryTransformer.java | package org.jabref.logic.importer.fetcher.transformers;
import org.jabref.model.strings.StringUtil;
public class CollectionOfComputerScienceBibliographiesQueryTransformer extends AbstractQueryTransformer {
@Override
protected String getLogicalAndOperator() {
return " ";
}
@Override
prote... | 980 | 22.357143 | 105 | java |
null | jabref-main/src/main/java/org/jabref/logic/importer/fetcher/transformers/DBLPQueryTransformer.java | package org.jabref.logic.importer.fetcher.transformers;
import org.jabref.model.strings.StringUtil;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* DBLP does not support explicit year field search, thus we extend YearAndYearRangeByFilteringQueryTransformer
*/
public class DBLPQueryTransformer extend... | 1,401 | 28.208333 | 111 | java |
null | jabref-main/src/main/java/org/jabref/logic/importer/fetcher/transformers/DefaultLuceneQueryTransformer.java | package org.jabref.logic.importer.fetcher.transformers;
/**
* Transforms the query to a lucene query string
*/
public class DefaultLuceneQueryTransformer extends AbstractQueryTransformer {
@Override
protected String getLogicalAndOperator() {
return " AND ";
}
@Override
protected String ... | 969 | 21.55814 | 77 | java |
null | jabref-main/src/main/java/org/jabref/logic/importer/fetcher/transformers/DefaultQueryTransformer.java | package org.jabref.logic.importer.fetcher.transformers;
import org.jabref.model.strings.StringUtil;
/**
* Default query transformer without any boolean operators
*/
public class DefaultQueryTransformer extends YearAndYearRangeByFilteringQueryTransformer {
@Override
protected String getLogicalAndOperator() ... | 945 | 22.65 | 90 | java |
null | jabref-main/src/main/java/org/jabref/logic/importer/fetcher/transformers/GVKQueryTransformer.java | package org.jabref.logic.importer.fetcher.transformers;
import java.util.Optional;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class GVKQueryTransformer extends YearRangeByFilteringQueryTransformer {
private static final Logger LOGGER = LoggerFactory.getLogger(GVKQueryTransformer.class);
... | 1,804 | 28.112903 | 92 | java |
null | jabref-main/src/main/java/org/jabref/logic/importer/fetcher/transformers/IEEEQueryTransformer.java | package org.jabref.logic.importer.fetcher.transformers;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import org.jabref.model.strings.StringUtil;
/**
* Needs to be instantiated for each new query
*/
public class IEEEQueryTransformer extends YearRangeByFilteringQueryTransformer {
/... | 2,598 | 27.56044 | 106 | java |
null | jabref-main/src/main/java/org/jabref/logic/importer/fetcher/transformers/JstorQueryTransformer.java | package org.jabref.logic.importer.fetcher.transformers;
public class JstorQueryTransformer extends AbstractQueryTransformer {
@Override
protected String getLogicalAndOperator() {
return " AND ";
}
@Override
protected String getLogicalOrOperator() {
return " OR ";
}
@Overri... | 1,224 | 24.520833 | 113 | java |
null | jabref-main/src/main/java/org/jabref/logic/importer/fetcher/transformers/MedlineQueryTransformer.java | package org.jabref.logic.importer.fetcher.transformers;
/**
*
* Medline/Pubmed specific transformer which uses suffixes for searches
* see <a href="https://pubmed.ncbi.nlm.nih.gov/help/#search-tags">Pubmed help</a> for details
*
*/
public class MedlineQueryTransformer extends AbstractQueryTransformer {
@Over... | 1,289 | 22.454545 | 94 | java |
null | jabref-main/src/main/java/org/jabref/logic/importer/fetcher/transformers/ResearchGateQueryTransformer.java | package org.jabref.logic.importer.fetcher.transformers;
import org.jabref.model.strings.StringUtil;
public class ResearchGateQueryTransformer extends AbstractQueryTransformer {
@Override
protected String getLogicalAndOperator() {
return " AND ";
}
@Override
protected String getLogicalOrO... | 1,006 | 22.97619 | 76 | java |
null | jabref-main/src/main/java/org/jabref/logic/importer/fetcher/transformers/ScholarQueryTransformer.java | package org.jabref.logic.importer.fetcher.transformers;
public class ScholarQueryTransformer extends YearAndYearRangeByFilteringQueryTransformer {
// Start year and end year have to be integrated into the query URL itself as these are just supported as query parameters
private int startYear = Integer.MAX_VALUE... | 1,028 | 26.078947 | 126 | java |
null | jabref-main/src/main/java/org/jabref/logic/importer/fetcher/transformers/SpringerQueryTransformer.java | package org.jabref.logic.importer.fetcher.transformers;
/**
* This class converts a query string written in lucene syntax into a complex query.
*
* For simplicity this is currently limited to fielded data and the boolean AND operator.
*/
public class SpringerQueryTransformer extends AbstractQueryTransformer {
... | 1,082 | 23.066667 | 89 | java |
null | jabref-main/src/main/java/org/jabref/logic/importer/fetcher/transformers/YearAndYearRangeByFilteringQueryTransformer.java | package org.jabref.logic.importer.fetcher.transformers;
/**
* This is a query transformer for a fetcher, which does not support server-side filtering by year and year-range.
* Thus, JabRef (as client) filters for years and year ranges on client-side.
*/
public abstract class YearAndYearRangeByFilteringQueryTransfor... | 586 | 35.6875 | 114 | java |
null | jabref-main/src/main/java/org/jabref/logic/importer/fetcher/transformers/YearRangeByFilteringQueryTransformer.java | package org.jabref.logic.importer.fetcher.transformers;
import java.util.Optional;
/**
* This is a query transformer for a fetcher, which does not support server-side filtering by year-range (e.g., only publications between 1999 and 2002).
* Thus, JabRef (as client) filters for year ranges on client-side.
*/
publi... | 1,124 | 34.15625 | 153 | java |
null | jabref-main/src/main/java/org/jabref/logic/importer/fetcher/transformers/ZbMathQueryTransformer.java | package org.jabref.logic.importer.fetcher.transformers;
import java.util.Optional;
public class ZbMathQueryTransformer extends AbstractQueryTransformer {
@Override
protected String getLogicalAndOperator() {
return " & ";
}
@Override
protected String getLogicalOrOperator() {
retur... | 1,155 | 21.230769 | 70 | java |
null | jabref-main/src/main/java/org/jabref/logic/importer/fileformat/ACMPortalParser.java | package org.jabref.logic.importer.fileformat;
import java.io.IOException;
import java.io.InputStream;
import java.net.CookieHandler;
import java.net.CookieManager;
import java.net.MalformedURLException;
import java.net.URISyntaxException;
import java.net.URL;
import java.nio.charset.StandardCharsets;
import java.util.... | 8,695 | 36.645022 | 120 | java |
null | jabref-main/src/main/java/org/jabref/logic/importer/fileformat/BiblioscapeImporter.java | package org.jabref.logic.importer.fileformat;
import java.io.BufferedReader;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Locale;
import java.util.Map;
import java.util.Objects;
import org.jabref.logic.importer.Importer;
import org.jabref.lo... | 13,320 | 45.90493 | 128 | java |
null | jabref-main/src/main/java/org/jabref/logic/importer/fileformat/BibtexImporter.java | package org.jabref.logic.importer.fileformat;
import java.io.BufferedInputStream;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.nio.charset.Charset;
import java.nio.charset.CharsetDecoder;
import java.nio.charset.CodingErrorAction;
... | 8,036 | 41.75 | 130 | java |
null | jabref-main/src/main/java/org/jabref/logic/importer/fileformat/BibtexParser.java | package org.jabref.logic.importer.fileformat;
import java.io.IOException;
import java.io.InputStream;
import java.io.PushbackReader;
import java.io.Reader;
import java.io.StringWriter;
import java.util.Collection;
import java.util.Deque;
import java.util.HashMap;
import java.util.HashSet;
import java.util.LinkedList;
... | 37,539 | 35.767875 | 193 | java |
null | jabref-main/src/main/java/org/jabref/logic/importer/fileformat/CffImporter.java | package org.jabref.logic.importer.fileformat;
import java.io.BufferedReader;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;
import org.jabref.logic.importer.Importer;
import org.jabref.logic.importer.Pa... | 7,302 | 35.153465 | 121 | java |
null | jabref-main/src/main/java/org/jabref/logic/importer/fileformat/CitaviXmlImporter.java | package org.jabref.logic.importer.fileformat;
import java.io.BufferedInputStream;
import java.io.BufferedReader;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.PushbackInputStream;
import java.nio.charset.StandardCharsets;
import... | 21,191 | 40.149515 | 162 | java |
null | jabref-main/src/main/java/org/jabref/logic/importer/fileformat/CiteSeerParser.java | package org.jabref.logic.importer.fileformat;
import java.net.CookieHandler;
import java.net.CookieManager;
import java.util.ArrayList;
import java.util.List;
import java.util.Optional;
import org.jabref.logic.importer.AuthorListParser;
import org.jabref.logic.importer.ParseException;
import org.jabref.model.entry.Bi... | 2,809 | 41.575758 | 116 | java |
null | jabref-main/src/main/java/org/jabref/logic/importer/fileformat/CoinsParser.java | package org.jabref.logic.importer.fileformat;
import java.io.BufferedReader;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import java.util.stream.Collectors;... | 3,369 | 41.125 | 234 | java |
null | jabref-main/src/main/java/org/jabref/logic/importer/fileformat/CopacImporter.java | package org.jabref.logic.importer.fileformat;
import java.io.BufferedReader;
import java.io.IOException;
import java.util.LinkedList;
import java.util.List;
import java.util.Objects;
import java.util.regex.Pattern;
import org.jabref.logic.importer.Importer;
import org.jabref.logic.importer.ParserResult;
import org.ja... | 5,150 | 33.57047 | 138 | java |
null | jabref-main/src/main/java/org/jabref/logic/importer/fileformat/CustomImporter.java | package org.jabref.logic.importer.fileformat;
import java.io.BufferedReader;
import java.io.IOException;
import java.net.URL;
import java.net.URLClassLoader;
import java.nio.file.Path;
import java.util.Arrays;
import java.util.List;
import java.util.Objects;
import org.jabref.logic.importer.ImportException;
import or... | 2,991 | 25.477876 | 118 | java |
null | jabref-main/src/main/java/org/jabref/logic/importer/fileformat/EndnoteImporter.java | package org.jabref.logic.importer.fileformat;
import java.io.BufferedReader;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.regex.Pattern;
import org.jabref.logic.citationkeypattern.CitationKeyGenerator;
import org.jabref... | 11,820 | 39.482877 | 123 | java |
null | jabref-main/src/main/java/org/jabref/logic/importer/fileformat/EndnoteXmlImporter.java | package org.jabref.logic.importer.fileformat;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.net.MalformedURLException;
import java.net.URL;
import java.nio.charset.StandardCharsets;
import java.util.ArrayList;
import java.util.Colle... | 19,396 | 37.033333 | 146 | java |
null | jabref-main/src/main/java/org/jabref/logic/importer/fileformat/InspecImporter.java | package org.jabref.logic.importer.fileformat;
import java.io.BufferedReader;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.regex.Pattern;
import org.jabref.logic.importer.Importer;
import org.jabref.logic.importer.Parser... | 4,921 | 35.459259 | 117 | java |
null | jabref-main/src/main/java/org/jabref/logic/importer/fileformat/IsiImporter.java | package org.jabref.logic.importer.fileformat;
import java.io.BufferedReader;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Locale;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import java.util.regex.Matcher;
impor... | 15,252 | 35.577938 | 120 | java |
null | jabref-main/src/main/java/org/jabref/logic/importer/fileformat/MarcXmlParser.java | package org.jabref.logic.importer.fileformat;
import java.io.IOException;
import java.io.InputStream;
import java.net.MalformedURLException;
import java.net.URL;
import java.time.DateTimeException;
import java.util.Arrays;
import java.util.LinkedList;
import java.util.List;
import java.util.Optional;
import java.util.... | 17,227 | 37.36971 | 198 | java |
null | jabref-main/src/main/java/org/jabref/logic/importer/fileformat/MedlineImporter.java | package org.jabref.logic.importer.fileformat;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.nio.charset.StandardCharsets;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
imp... | 50,352 | 38.74191 | 141 | java |
null | jabref-main/src/main/java/org/jabref/logic/importer/fileformat/MedlinePlainImporter.java | package org.jabref.logic.importer.fileformat;
import java.io.BufferedReader;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Locale;
import java.util.Map;
import java.util.regex.Pattern;
import org.jabref.logic.importer.Importer;
import org.jab... | 17,000 | 42.369898 | 119 | java |
null | jabref-main/src/main/java/org/jabref/logic/importer/fileformat/ModsImporter.java | package org.jabref.logic.importer.fileformat;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.nio.charset.StandardCharsets;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
imp... | 25,488 | 38.640747 | 154 | java |
null | jabref-main/src/main/java/org/jabref/logic/importer/fileformat/MrDLibImporter.java | /**
*
*/
package org.jabref.logic.importer.fileformat;
import java.io.BufferedReader;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import java.util.stream.Collectors;
import org.jabref.logic.importer.Importer;
import org.jabref.logic.importer.ParserResult... | 7,042 | 36.068421 | 150 | java |
null | jabref-main/src/main/java/org/jabref/logic/importer/fileformat/MsBibImporter.java | package org.jabref.logic.importer.fileformat;
import java.io.BufferedReader;
import java.io.IOException;
import java.util.Objects;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.ParserConfigurationException;
import org.jabref.logic.importer.Importe... | 4,013 | 33.016949 | 137 | java |
null | jabref-main/src/main/java/org/jabref/logic/importer/fileformat/OvidImporter.java | package org.jabref.logic.importer.fileformat;
import java.io.BufferedReader;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.jabref.logic.importer.Importer;
import ... | 11,213 | 45.338843 | 158 | java |
null | jabref-main/src/main/java/org/jabref/logic/importer/fileformat/PdfContentImporter.java | package org.jabref.logic.importer.fileformat;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.StringWriter;
import java.nio.file.Path;
import java.util.ArrayList;
import java.util.Locale;
import java.util.Objects;
import java.util.Optional;
import java.util.regex.Matcher;
import java.util.reg... | 23,549 | 37.733553 | 157 | java |
null | jabref-main/src/main/java/org/jabref/logic/importer/fileformat/PdfEmbeddedBibFileImporter.java | package org.jabref.logic.importer.fileformat;
import java.io.BufferedReader;
import java.io.IOException;
import java.nio.file.Path;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import org.jabref.logic.importer.ImportFormatPreferences;
import org.jabref.logic.impor... | 7,099 | 41.771084 | 150 | java |
null | jabref-main/src/main/java/org/jabref/logic/importer/fileformat/PdfGrobidImporter.java | package org.jabref.logic.importer.fileformat;
import java.io.BufferedReader;
import java.io.IOException;
import java.nio.file.Path;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import org.jabref.logic.importer.ImportFormatPreferences;
import org.jabref.logic.importer.Importer;
import or... | 3,339 | 32.4 | 105 | java |
null | jabref-main/src/main/java/org/jabref/logic/importer/fileformat/PdfMergeMetadataImporter.java | package org.jabref.logic.importer.fileformat;
import java.io.BufferedReader;
import java.io.IOException;
import java.nio.file.Path;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import java.util.Set;
import org.jabref.logic.importer.Entry... | 7,883 | 43.044693 | 157 | java |
null | jabref-main/src/main/java/org/jabref/logic/importer/fileformat/PdfVerbatimBibTextImporter.java | package org.jabref.logic.importer.fileformat;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.StringWriter;
import java.nio.file.Path;
import java.util.ArrayList;
import java.util.List;
import java.util.Objects;
import org.jabref.logic.importer.ImportFormatPreferences;
import org.jabref.logi... | 3,763 | 36.267327 | 132 | java |
null | jabref-main/src/main/java/org/jabref/logic/importer/fileformat/PdfXmpImporter.java | package org.jabref.logic.importer.fileformat;
import java.io.BufferedReader;
import java.io.IOException;
import java.nio.file.Path;
import java.util.Objects;
import org.jabref.logic.importer.Importer;
import org.jabref.logic.importer.ParserResult;
import org.jabref.logic.l10n.Localization;
import org.jabref.logic.uti... | 2,736 | 29.752809 | 97 | java |
null | jabref-main/src/main/java/org/jabref/logic/importer/fileformat/PicaXmlParser.java | package org.jabref.logic.importer.fileformat;
import java.io.IOException;
import java.io.InputStream;
import java.util.LinkedList;
import java.util.List;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.ParserConfigurationException;
import org.jabref... | 17,435 | 34.153226 | 303 | java |
null | jabref-main/src/main/java/org/jabref/logic/importer/fileformat/RepecNepImporter.java | package org.jabref.logic.importer.fileformat;
import java.io.BufferedReader;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.List;
import java.util.Objects;
import org.jabref.logic.importer.ImportFormatPreferences;
import org.jabref.logic.... | 15,418 | 36.154217 | 163 | java |
null | jabref-main/src/main/java/org/jabref/logic/importer/fileformat/RisImporter.java | package org.jabref.logic.importer.fileformat;
import java.io.BufferedReader;
import java.io.IOException;
import java.time.Year;
import java.time.format.DateTimeFormatter;
import java.time.format.DateTimeParseException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List... | 15,707 | 48.55205 | 189 | java |
null | jabref-main/src/main/java/org/jabref/logic/importer/fileformat/SilverPlatterImporter.java | package org.jabref.logic.importer.fileformat;
import java.io.BufferedReader;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Locale;
import java.util.Map;
import java.util.regex.Pattern;
import org.jabref.logic.importer.Importer;
import org.jab... | 8,081 | 41.314136 | 126 | java |
null | jabref-main/src/main/java/org/jabref/logic/importer/fileformat/medline/ArticleId.java | package org.jabref.logic.importer.fileformat.medline;
public record ArticleId(
String idType,
String content
) {
}
| 132 | 15.625 | 53 | java |
null | jabref-main/src/main/java/org/jabref/logic/importer/fileformat/medline/Investigator.java | package org.jabref.logic.importer.fileformat.medline;
import java.util.List;
public record Investigator(
String lastName,
String foreName,
List<String> affiliationList
) {
}
| 200 | 17.272727 | 53 | java |
null | jabref-main/src/main/java/org/jabref/logic/importer/fileformat/medline/MeshHeading.java | package org.jabref.logic.importer.fileformat.medline;
import java.util.List;
public record MeshHeading(
String descriptorName,
List<String> qualifierNames
) {
}
| 179 | 17 | 53 | java |
null | jabref-main/src/main/java/org/jabref/logic/importer/fileformat/medline/OtherId.java | package org.jabref.logic.importer.fileformat.medline;
public record OtherId(
String source,
String content
) {
}
| 130 | 15.375 | 53 | java |
null | jabref-main/src/main/java/org/jabref/logic/importer/fileformat/medline/PersonalNameSubject.java | package org.jabref.logic.importer.fileformat.medline;
public record PersonalNameSubject(
String lastName,
String foreName
) {
}
| 145 | 17.25 | 53 | java |
null | jabref-main/src/main/java/org/jabref/logic/importer/fileformat/mods/Identifier.java | package org.jabref.logic.importer.fileformat.mods;
public record Identifier(
String type,
String value) {
}
| 125 | 17 | 50 | java |
null | jabref-main/src/main/java/org/jabref/logic/importer/fileformat/mods/Name.java | package org.jabref.logic.importer.fileformat.mods;
public record Name(
String value,
String type) {
}
| 119 | 16.142857 | 50 | java |
null | jabref-main/src/main/java/org/jabref/logic/importer/fileformat/mods/RecordInfo.java | package org.jabref.logic.importer.fileformat.mods;
import java.util.ArrayList;
import java.util.List;
import java.util.Set;
public record RecordInfo(
List<String> recordContents,
List<String> languages) {
public static Set<String> elementNameSet = Set.of(
"recordContentSource",
... | 598 | 22.96 | 54 | java |
null | jabref-main/src/main/java/org/jabref/logic/importer/fileformat/mods/package-info.java | //
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2016.09.28 at 06:51:34 P... | 806 | 56.642857 | 176 | java |
null | jabref-main/src/main/java/org/jabref/logic/importer/util/FileFieldParser.java | package org.jabref.logic.importer.util;
import java.net.MalformedURLException;
import java.net.URL;
import java.nio.file.InvalidPathException;
import java.nio.file.Path;
import java.util.ArrayList;
import java.util.List;
import org.jabref.model.entry.LinkedFile;
import org.slf4j.Logger;
import org.slf4j.LoggerFactor... | 7,233 | 37.478723 | 117 | java |
null | jabref-main/src/main/java/org/jabref/logic/importer/util/GrobidService.java | package org.jabref.logic.importer.util;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Path;
import java.util.List;
import java.util.Optional;
import org.jabref.logic.importer.ImportFormatPreferences;
import org.jabref.logic.importer.ParseException;
import org.jabref.logic.importer.fetch... | 3,984 | 40.082474 | 203 | java |
null | jabref-main/src/main/java/org/jabref/logic/importer/util/GroupsParser.java | package org.jabref.logic.importer.util;
import java.io.IOException;
import java.nio.file.InvalidPathException;
import java.nio.file.Path;
import java.util.EnumSet;
import java.util.List;
import org.jabref.logic.auxparser.DefaultAuxParser;
import org.jabref.logic.groups.DefaultGroupsFactory;
import org.jabref.logic.im... | 16,381 | 52.711475 | 148 | java |
null | jabref-main/src/main/java/org/jabref/logic/importer/util/INSPIREBibtexFilterReader.java | package org.jabref.logic.importer.util;
import java.io.BufferedReader;
import java.io.FilterReader;
import java.io.IOException;
import java.io.Reader;
import java.util.regex.Pattern;
/**
* Warning -- it is not a generic filter, only read is implemented!
* <p>
* Note: this is just a quick port of the original SPIRE... | 2,091 | 24.82716 | 84 | java |
null | jabref-main/src/main/java/org/jabref/logic/importer/util/IdentifierParser.java | package org.jabref.logic.importer.util;
import java.util.Objects;
import java.util.Optional;
import org.jabref.model.entry.BibEntry;
import org.jabref.model.entry.field.Field;
import org.jabref.model.entry.field.StandardField;
import org.jabref.model.entry.identifier.ARK;
import org.jabref.model.entry.identifier.ArXi... | 1,943 | 32.517241 | 82 | java |
null | jabref-main/src/main/java/org/jabref/logic/importer/util/JsonReader.java | package org.jabref.logic.importer.util;
import java.io.IOException;
import java.io.InputStream;
import java.nio.charset.StandardCharsets;
import org.jabref.logic.importer.ParseException;
import kong.unirest.json.JSONArray;
import kong.unirest.json.JSONException;
import kong.unirest.json.JSONObject;
/**
* Converts ... | 1,563 | 31.583333 | 108 | java |
null | jabref-main/src/main/java/org/jabref/logic/importer/util/MathMLParser.java | package org.jabref.logic.importer.util;
import java.io.IOException;
import java.io.StringReader;
import java.io.StringWriter;
import java.net.URISyntaxException;
import java.net.URL;
import java.util.Objects;
import javax.xml.stream.XMLStreamException;
import javax.xml.stream.XMLStreamReader;
import javax.xml.transfo... | 2,561 | 35.6 | 138 | java |
null | jabref-main/src/main/java/org/jabref/logic/importer/util/MediaTypes.java | package org.jabref.logic.importer.util;
/**
* Stores MediaTypes required by JabRef (which are not availble in used libraries)
*/
public class MediaTypes {
public static final String APPLICATION_BIBTEX = "application/x-bibtex";
public static final String CITATIONSTYLES_JSON = "application/vnd.citationstyles.c... | 332 | 32.3 | 95 | java |
null | jabref-main/src/main/java/org/jabref/logic/importer/util/MetaDataParser.java | package org.jabref.logic.importer.util;
import java.io.IOException;
import java.io.Reader;
import java.io.StringReader;
import java.nio.file.Path;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.ut... | 11,161 | 47.320346 | 224 | java |
null | jabref-main/src/main/java/org/jabref/logic/importer/util/ShortDOIService.java | package org.jabref.logic.importer.util;
import java.io.IOException;
import java.net.MalformedURLException;
import java.net.URI;
import java.net.URISyntaxException;
import java.net.URL;
import org.jabref.logic.importer.ParseException;
import org.jabref.logic.net.URLDownload;
import org.jabref.model.entry.identifier.DO... | 2,064 | 30.287879 | 104 | java |
null | jabref-main/src/main/java/org/jabref/logic/importer/util/ShortDOIServiceException.java | package org.jabref.logic.importer.util;
import org.jabref.logic.JabRefException;
public class ShortDOIServiceException extends JabRefException {
public ShortDOIServiceException(String message) {
super(message);
}
public ShortDOIServiceException(String message, Throwable cause) {
super(mes... | 706 | 26.192308 | 95 | java |
null | jabref-main/src/main/java/org/jabref/logic/importer/util/StaxParser.java | package org.jabref.logic.importer.util;
import javax.xml.stream.XMLStreamConstants;
import javax.xml.stream.XMLStreamException;
import javax.xml.stream.XMLStreamReader;
public class StaxParser {
/**
* Extracts the XML content inside the first
* encountered parent tag, including tag elements,
* att... | 4,563 | 34.379845 | 136 | java |
null | jabref-main/src/main/java/org/jabref/logic/integrity/ASCIICharacterChecker.java | package org.jabref.logic.integrity;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import org.jabref.logic.l10n.Localization;
import org.jabref.model.entry.BibEntry;
import org.jabref.model.entry.field.Field;
import com.google.common.base.CharMatcher;
public class ASCIICharacterChecker imp... | 983 | 30.741935 | 111 | java |
null | jabref-main/src/main/java/org/jabref/logic/integrity/AbbreviationChecker.java | package org.jabref.logic.integrity;
import java.util.ArrayList;
import java.util.List;
import java.util.Optional;
import java.util.Set;
import org.jabref.logic.journals.JournalAbbreviationRepository;
import org.jabref.logic.l10n.Localization;
import org.jabref.model.entry.BibEntry;
import org.jabref.model.entry.field... | 1,220 | 34.911765 | 129 | java |
null | jabref-main/src/main/java/org/jabref/logic/integrity/AmpersandChecker.java | package org.jabref.logic.integrity;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.regex.MatchResult;
import java.util.regex.Pattern;
import org.jabref.logic.l10n.Localization;
import org.jabref.model.entry.BibEntry;
import org.jabref.model.entry.field.Field;
import com.goo... | 1,486 | 34.404762 | 139 | java |
null | jabref-main/src/main/java/org/jabref/logic/integrity/BibStringChecker.java | package org.jabref.logic.integrity;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.jabref.logic.bibtex.FieldWriter;
import org.jabref.logic.l10n.Localization;
import org.jabref.model.entry.BibEntry;
import org.jabref.... | 1,778 | 37.673913 | 176 | java |
null | jabref-main/src/main/java/org/jabref/logic/integrity/BibTeXEntryTypeChecker.java | package org.jabref.logic.integrity;
import java.util.Collections;
import java.util.List;
import org.jabref.logic.l10n.Localization;
import org.jabref.model.entry.BibEntry;
import org.jabref.model.entry.field.InternalField;
import org.jabref.model.entry.types.EntryTypeFactory;
/**
* BibTeX mode only checker
*/
publ... | 1,036 | 34.758621 | 190 | java |
null | jabref-main/src/main/java/org/jabref/logic/integrity/BooktitleChecker.java | package org.jabref.logic.integrity;
import java.util.Locale;
import java.util.Optional;
import org.jabref.logic.l10n.Localization;
import org.jabref.model.strings.StringUtil;
public class BooktitleChecker implements ValueChecker {
@Override
public Optional<String> checkValue(String value) {
if (Stri... | 610 | 24.458333 | 89 | java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.