| Modifier and Type | Field and Description |
|---|---|
| protected ExportService | |
| private @Nullable String | |
| private List | |
| private static final Logger | |
| private @Nullable ExtractionMode | |
| private @Nullable Path | |
| private @Nullable Path | |
| private String | |
| protected Pdf | |
| private JabKit. |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public Integer | call()
Implements java. Computes a result, or throws an exception if unable to do so. |
| private static Path | defaultBibFile(String input, Path resolvedFile)
Target for the "one |
| private static String | displayName(String input)
The input as shown to the user: URLs are redacted so that embedded credentials do not end up on the console or in the log. |
| private static boolean | Returns: true if the directory exists afterwards, false if it could not be createdCreates |
| pack-priv void | |
| private static String | outputBaseName(String input, Path resolvedFile)
Base name (without extension) for an input's output file. |
| private static Path | outputDirTarget(Path outputDir, String baseName, Set<Path> takenTargets)
Target inside |
| exportService | back to summary |
|---|---|
| protected ExportService exportService | |
| grobidUrl | back to summary |
|---|---|
private @Nullable String grobidUrl
| |
| inputFiles | back to summary |
|---|---|
private List<String> inputFiles
| |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| mode | back to summary |
|---|---|
private @Nullable ExtractionMode mode
| |
| outputDir | back to summary |
|---|---|
private @Nullable Path outputDir
| |
| outputFile | back to summary |
|---|---|
private @Nullable Path outputFile
| |
| outputFormat | back to summary |
|---|---|
private String outputFormat
| |
| back to summary | |
|---|---|
| protected Pdf pdf
| |
| sharedOptions | back to summary |
|---|---|
| private JabKit. | |
| PdfExtractReferences | back to summary |
|---|---|
| pack-priv PdfExtractReferences() | |
| call | back to summary |
|---|---|
| public Integer call() throws ImportServiceException, ExportServiceException Implements java. Doc from java. Computes a result, or throws an exception if unable to do so.
| |
| defaultBibFile | back to summary |
|---|---|
| private static Path defaultBibFile(String input, Path resolvedFile) Target for the "one | |
| displayName | back to summary |
|---|---|
| private static String displayName(String input) The input as shown to the user: URLs are redacted so that embedded credentials do not end up on the console or in the log. | |
| ensureDirectoryExists | back to summary |
|---|---|
| private static boolean ensureDirectoryExists(Path directory) Creates
| |
| initFields | back to summary |
|---|---|
| pack-priv void initFields() | |
| outputBaseName | back to summary |
|---|---|
| private static String outputBaseName(String input, Path resolvedFile) Base name (without extension) for an input's output file. For a URL the name is taken from the URL itself, not from the randomly named temporary file it was downloaded to, so that output names are stable across runs. | |
| outputDirTarget | back to summary |
|---|---|
| private static Path outputDirTarget(Path outputDir, String baseName, Set<Path> takenTargets) Target inside Only names taken within the same run are avoided: a batch that is run again replaces its own previous output rather than piling up numbered copies of it. | |