PdfImporter.
| Modifier and Type | Field and Description |
|---|---|
| private final GrobidService | |
| private final ImportFormatPreferences |
| 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 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(Path filePath, PDDocument document)
Implements abstract org. Note The "throws" clause is for "developer convenience" - it is turned into a ParserResult at |
| grobidService | back to summary |
|---|---|
| private final GrobidService grobidService | |
| importFormatPreferences | back to summary |
|---|---|
| private final ImportFormatPreferences importFormatPreferences | |
| PdfGrobidImporter | back to summary |
|---|---|
| public PdfGrobidImporter(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 specifywhat kind of entries from what sources and based on what specification it is able to importby what criteria it
| |
| 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(Path filePath, PDDocument document) throws IOException, ParseException Implements abstract org. Doc from org. Note The "throws" clause is for "developer convenience" - it is turned into a ParserResult at
| |