| Modifier and Type | Field and Description |
|---|---|
| private static final Map | |
| private static final UnknownField | |
| private static final Map | |
| private static final Logger | |
| private final ImportFormatPreferences | |
| private final XMLInputFactory |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private String | |
| private void | |
| 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 input)
Implements abstract org. Parse the database in the source. |
| private boolean | |
| private boolean | |
| public boolean | isRecognizedFormat(@NonNull Reader reader)
Overrides org. #isRecognizedFormat(BufferedReader) without the requirement to reset |
| private boolean | |
| private boolean | |
| private void | |
| private void | |
| private String | |
| public List | |
| private void | |
| private void | |
| private void | |
| private BibEntry | |
| private void | |
| private void |
| ENTRY_TYPE_MAPPING | back to summary |
|---|---|
| private static final Map<EntryType, String> ENTRY_TYPE_MAPPING | |
| FIELD_ALT_TITLE | back to summary |
|---|---|
| private static final UnknownField FIELD_ALT_TITLE | |
| FIELD_MAPPING | back to summary |
|---|---|
| private static final Map<Field, String> FIELD_MAPPING | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| preferences | back to summary |
|---|---|
| private final ImportFormatPreferences preferences | |
| xmlInputFactory | back to summary |
|---|---|
| private final XMLInputFactory xmlInputFactory | |
| EndnoteXmlImporter | back to summary |
|---|---|
| public EndnoteXmlImporter(ImportFormatPreferences preferences) | |
| clean | back to summary |
|---|---|
| private String clean(String input) | |
| extractPersons | back to summary |
|---|---|
| private void extractPersons(XMLStreamReader reader, String elementName, BibEntry entry, StandardField author) throws XMLStreamException | |
| 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 input) 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:
| |
| isEndElement | back to summary |
|---|---|
| private boolean isEndElement(XMLStreamReader reader, String elementName) | |
| isEndElement | back to summary |
|---|---|
| private boolean isEndElement(XMLStreamReader reader) | |
| isRecognizedFormat | back to summary |
|---|---|
| public boolean isRecognizedFormat(@NonNull Reader reader) throws IOException Overrides org. Doc from org. #isRecognizedFormat(BufferedReader) without the requirement to reset
| |
| isStartElement | back to summary |
|---|---|
| private boolean isStartElement(XMLStreamReader reader, String elementName) | |
| isStartElement | back to summary |
|---|---|
| private boolean isStartElement(XMLStreamReader reader) | |
| parseContributors | back to summary |
|---|---|
| private void parseContributors(XMLStreamReader reader, BibEntry entry) throws XMLStreamException | |
| parseDates | back to summary |
|---|---|
| private void parseDates(XMLStreamReader reader, BibEntry entry) throws XMLStreamException | |
| parseElementContent | back to summary |
|---|---|
| private String parseElementContent(XMLStreamReader reader, String elementName) throws XMLStreamException | |
| parseEntries | back to summary |
|---|---|
| public List Implements org.
| |
| parseJournalOrBookTitle | back to summary |
|---|---|
| private void parseJournalOrBookTitle(XMLStreamReader reader, BibEntry entry) throws XMLStreamException | |
| parseKeywords | back to summary |
|---|---|
| private void parseKeywords(XMLStreamReader reader, BibEntry entry) throws XMLStreamException | |
| parsePeriodical | back to summary |
|---|---|
| private void parsePeriodical(XMLStreamReader reader, BibEntry entry) throws XMLStreamException | |
| parseRecord | back to summary |
|---|---|
| private BibEntry parseRecord(XMLStreamReader reader) throws XMLStreamException | |
| parseTitles | back to summary |
|---|---|
| private void parseTitles(XMLStreamReader reader, BibEntry entry) throws XMLStreamException | |
| parseUrls | back to summary |
|---|---|
| private void parseUrls(XMLStreamReader reader, BibEntry entry) throws XMLStreamException | |