| Modifier and Type | Class and Description |
|---|---|
| public static interface | |
| public static record |
| Modifier and Type | Field and Description |
|---|---|
| public static final String | |
| private final CitationKeyPatternPreferences | |
| private final FileUpdateMonitor | |
| private final List | formats
All import formats. |
| private final ImporterPreferences | |
| private final ImportFormatPreferences |
| Access | Constructor and Description |
|---|---|
| public | ImportFormatReader(ImporterPreferences importerPreferences, ImportFormatPreferences importFormatPreferences, CitationKeyPatternPreferences citationKeyPatternPreferences, FileUpdateMonitor fileUpdateMonitor)
|
| Modifier and Type | Method and Description |
|---|---|
| private Optional | Returns: Import Format ornull if none matchesCLI-Id cliId)Format for a given CLI-ID.
Will return the first format according to the default-order of format that matches the given ID. |
| public SortedSet | |
| public ParserResult | |
| public ImportFormatReader. | importUnknownFormat(Path filePath, FileUpdateMonitor fileMonitor)
Tries to import a file by iterating through the available import filters, and keeping the import that seems most promising. |
| private ImportFormatReader. | Returns: an UnknownFormatImport with the imported entries and metadatathe function to import the entries with a formatter importDatabase,the function to check whether the source is in the correct format for an importer isRecognizedFormatTries to import entries by iterating through the available import filters, and keeping the import that seems the most promising |
| public ImportFormatReader. | Returns: an UnknownFormatImport with the imported entries and metadatathe string to import data)Tries to import a String by iterating through the available import filters, and keeping the import that seems the most promising |
| public void |
| BIBTEX_FORMAT | back to summary |
|---|---|
| public static final String BIBTEX_FORMAT | |
| citationKeyPatternPreferences | back to summary |
|---|---|
| private final CitationKeyPatternPreferences citationKeyPatternPreferences | |
| fileUpdateMonitor | back to summary |
|---|---|
| private final FileUpdateMonitor fileUpdateMonitor | |
| formats | back to summary |
|---|---|
| private final List<Importer> formats All import formats.
Sorted accordingly to | |
| importerPreferences | back to summary |
|---|---|
| private final ImporterPreferences importerPreferences | |
| importFormatPreferences | back to summary |
|---|---|
| private final ImportFormatPreferences importFormatPreferences | |
| ImportFormatReader | back to summary |
|---|---|
| public ImportFormatReader(ImporterPreferences importerPreferences, ImportFormatPreferences importFormatPreferences, CitationKeyPatternPreferences citationKeyPatternPreferences, FileUpdateMonitor fileUpdateMonitor) | |
| getByCliId | back to summary |
|---|---|
| private Optional Format for a given CLI-ID.
Will return the first format according to the default-order of format that matches the given ID. | |
| getImportFormats | back to summary |
|---|---|
| public SortedSet All importers. Elements are sorted by name. | |
| importFromFile | back to summary |
|---|---|
| public ParserResult importFromFile(String format, Path file) throws ImportException | |
| importUnknownFormat | back to summary |
|---|---|
| public ImportFormatReader. Tries to import a file by iterating through the available import filters, and keeping the import that seems most promising. This method first attempts to read this file as bibtex.
| |
| importUnknownFormat | back to summary |
|---|---|
| private ImportFormatReader. Tries to import entries by iterating through the available import filters, and keeping the import that seems the most promising
| |
| importUnknownFormat | back to summary |
|---|---|
| public ImportFormatReader. Tries to import a String by iterating through the available import filters, and keeping the import that seems the most promising
| |
| reset | back to summary |
|---|---|
| public void reset() | |
| Modifier and Type | Method and Description |
|---|---|
| public R |
| apply | back to summary |
|---|---|
| public R apply(T t) throws IOException | |
| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| private final ParserResult | parserResult
Record Component accessed by parserResult(). |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public final boolean | equals(Object
the reference object with which to compare. o)Implements abstract java. Indicates whether some other object is "equal to" this one. |
| public String | |
| public final int | |
| public ParserResult | |
| public final String | toString()
Implements abstract java. Returns a string representation of the record. |
| format | back to summary |
|---|---|
| private final String format Record Component accessed by format(). | |
| parserResult | back to summary |
|---|---|
| private final ParserResult parserResult Record Component accessed by parserResult(). | |
| UnknownFormatImport | back to summary |
|---|---|
| public UnknownFormatImport(String format, ParserResult parserResult) | |
| equals | back to summary |
|---|---|
| public final boolean equals(Object o) Implements abstract java. Doc from java. Indicates whether some other object is "equal to" this one. In addition
to the general contract of
R copy = new R(r.c1(), r.c2(), ..., r.cn());
then it must be the case that r.equals(copy).
| |
| format | back to summary |
|---|---|
| public String format() Record Component getter of format. | |
| hashCode | back to summary |
|---|---|
| public final int hashCode() Implements abstract java. Doc from java. Returns a hash code value for the record.
Obeys the general contract of
| |
| parserResult | back to summary |
|---|---|
| public ParserResult parserResult() Record Component getter of parserResult. | |
| toString | back to summary |
|---|---|
| public final String toString() Implements abstract java. Doc from java. Returns a string representation of the record.
In accordance with the general contract of In addition to this general contract, record classes must further participate in the invariant that any two records which are equal must produce equal strings. This invariant is necessarily relaxed in the rare case where corresponding equal component values might fail to produce equal strings for themselves.
| |