| Modifier and Type | Field and Description |
|---|---|
| private static final Pattern | |
| private static final Pattern | |
| private static final int | |
| private static final Pattern | |
| private static final String | |
| private static final Pattern | |
| private static final Pattern | |
| private static final Pattern |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static String | |
| public String | getDescription()
Implements abstract org. Returns the description of the import format. |
| public StandardFileType | getFileType()
Implements abstract org. Returns the type of files that this importer can read |
| public String | getId()
Implements abstract org. Returns a slug, which identifies this importer. |
| public String | getName()
Implements abstract org. Returns the name of this import format. |
| public ParserResult | importDatabase(@NonNull BufferedReader reader)
Implements abstract org. Parse the database in the source. |
| public boolean | isRecognizedFormat(@NonNull Reader reader)
Overrides org. #isRecognizedFormat(BufferedReader) without the requirement to reset |
| private void | |
| private void | |
| private void | |
| private EntryType |
| BOOK_PATTERN | back to summary |
|---|---|
| private static final Pattern BOOK_PATTERN | |
| INCOLLECTION_PATTERN | back to summary |
|---|---|
| private static final Pattern INCOLLECTION_PATTERN | |
| MAX_ITEMS | back to summary |
|---|---|
| private static final int MAX_ITEMS | |
| OVID_PATTERN | back to summary |
|---|---|
| private static final Pattern OVID_PATTERN | |
| OVID_PATTERN_STRING | back to summary |
|---|---|
| private static final String OVID_PATTERN_STRING | |
| OVID_SOURCE_PATTERN | back to summary |
|---|---|
| private static final Pattern OVID_SOURCE_PATTERN | |
| OVID_SOURCE_PATTERN_2 | back to summary |
|---|---|
| private static final Pattern OVID_SOURCE_PATTERN_2 | |
| OVID_SOURCE_PATTERN_NO_ISSUE | back to summary |
|---|---|
| private static final Pattern OVID_SOURCE_PATTERN_NO_ISSUE | |
| OvidImporter | back to summary |
|---|---|
| public OvidImporter() | |
| fixNames | back to summary |
|---|---|
| private static String fixNames(String content) Convert a string of author names into a BibTeX-compatible format. | |
| getDescription | back to summary |
|---|---|
| public String getDescription() Implements abstract org. Doc from org. Returns the description of the import format. The description should specifywhat kind of entries from what sources and based on what specification it is able to importby what criteria it
| |
| getFileType | back to summary |
|---|---|
| public StandardFileType getFileType() Implements abstract org. Doc from org. Returns the type of files that this importer can read
| |
| getId | back to summary |
|---|---|
| public String getId() Implements abstract org. Doc from org. Returns a slug, which identifies this importer. Used, for example, to identify the importer in CLI. Typically, this name should be short, in English, and should not contain special characters like #, %, etc.
| |
| getName | back to summary |
|---|---|
| public String getName() Implements abstract org. Doc from org. Returns the name of this import format. Typically, this is a string that denotes file type or format. It can also be localized, like "XMP-annotated PDF".
| |
| importDatabase | back to summary |
|---|---|
| public ParserResult importDatabase(@NonNull BufferedReader reader) throws IOException Implements abstract org. Doc from org. Parse the database in the source. This method can be called in two different contexts - either when importing in a specified format, or when importing in unknown format. In the latter case, JabRef cycles through all available import formats. No error messages or feedback is displayed from individual import formats in this case. If importing in a specified format and an empty library is returned, JabRef reports that no entries were found. If your format is binary-based (PDF, ZIP-based, or others), then you should not solely override this method. For binary formats do this:
| |
| isRecognizedFormat | back to summary |
|---|---|
| public boolean isRecognizedFormat(@NonNull Reader reader) throws IOException Overrides org. Doc from org. #isRecognizedFormat(BufferedReader) without the requirement to reset
| |
| normalizeContributors | back to summary |
|---|---|
| private void normalizeContributors(Map<Field, String> fieldMap) | |
| parseField | back to summary |
|---|---|
| private void parseField(String field, Map<Field, String> fieldMap) | |
| parseSource | back to summary |
|---|---|
| private void parseSource(String content, Map<Field, String> fieldMap) | |
| resolveEntryType | back to summary |
|---|---|
| private EntryType resolveEntryType(Map<Field, String> fieldMap) | |