| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| private final ImportFormatPreferences | |
| private static final Logger | |
| private final List |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| 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 | getName()
Implements abstract org. Returns the name of this import format. |
| public ParserResult | importDatabase(BufferedReader
the input to read from reader)Implements abstract org. Parse the database in the source. |
| public ParserResult | importDatabase(String
the string which should be imported data)Overrides org. Parse the database in the specified string. |
| public ParserResult | importDatabase(Path
the path to the file which should be imported filePath)Overrides org. Parse the database in the specified file. |
| public boolean | isRecognizedFormat(BufferedReader input)
Implements abstract org. Check whether the source is in the correct format for this importer. |
| importFormatPreferences | back to summary |
|---|---|
| private final ImportFormatPreferences importFormatPreferences | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| metadataImporters | back to summary |
|---|---|
| private final List<Importer> metadataImporters | |
| PdfMergeMetadataImporter | back to summary |
|---|---|
| public PdfMergeMetadataImporter(ImportFormatPreferences importFormatPreferences) | |
| getDescription | back to summary |
|---|---|
| public String getDescription() Implements abstract org. Doc from org. Returns the description of the import format. The description should specify
| |
| getFileType | back to summary |
|---|---|
| public StandardFileType getFileType() Implements abstract org. Doc from org. Returns the type of files that this importer can read
| |
| getName | back to summary |
|---|---|
| public String getName() Implements abstract org. Doc from org. Returns the name of this import format. The name must be unique. | |
| importDatabase | back to summary |
|---|---|
| public ParserResult importDatabase(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. This method should never return null.
| |
| importDatabase | back to summary |
|---|---|
| public ParserResult importDatabase(String data) throws IOException Overrides org. Doc from org. Parse the database in the specified string.
Importer having the facilities to detect the correct encoding of a string should overwrite this method, determine
the encoding and then call
| |
| importDatabase | back to summary |
|---|---|
| public ParserResult importDatabase(Path filePath) throws IOException Overrides org. Doc from org. Parse the database in the specified file. | |
| isRecognizedFormat | back to summary |
|---|---|
| public boolean isRecognizedFormat(BufferedReader input) throws IOException Implements abstract org. Doc from org. Check whether the source is in the correct format for this importer. The effect of this method is primarily to avoid unnecessary processing of files when searching for a suitable import format. If this method returns false, the import routine will move on to the next import format. Thus, the correct behaviour is to return false if it is certain that the file is not of the suitable type, and true otherwise. Returning true is the safe choice if not certain.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final BibDatabaseContext | |
| private final FilePreferences | |
| private static final Logger |
| Access | Constructor and Description |
|---|---|
| public | EntryBasedFetcherWrapper(ImportFormatPreferences importFormatPreferences, FilePreferences filePreferences, BibDatabaseContext context)
|
| Modifier and Type | Method and Description |
|---|---|
| public List | performSearch(BibEntry
entry to search bibliographic information for entry)Implements org. Looks for hits which are matched by the given |
| databaseContext | back to summary |
|---|---|
| private final BibDatabaseContext databaseContext | |
| filePreferences | back to summary |
|---|---|
| private final FilePreferences filePreferences | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER Hides org. | |
| EntryBasedFetcherWrapper | back to summary |
|---|---|
| public EntryBasedFetcherWrapper(ImportFormatPreferences importFormatPreferences, FilePreferences filePreferences, BibDatabaseContext context) | |
| performSearch | back to summary |
|---|---|
| public List Implements org. Doc from org. Looks for hits which are matched by the given | |