| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| private final FileType | |
| private final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public abstract void | |
| public void | export(BibDatabaseContext databaseContext, Path file, List<BibEntry> entries, List<Path> fileDirForDatabase, JournalAbbreviationRepository abbreviationRepository)
|
| public boolean | Returns: whether any file was written onthe database to export from databaseContext, FilePreferences the filePreferences to use for resolving paths filePreferences, BibEntry the entry for which we want to write on all linked pdfs entryToWriteOn, List<BibEntry> the content that we want to export to the pdfs entriesToWrite, JournalAbbreviationRepository the opened repository of journal abbreviations abbreviationRepository)Exports to all files linked to a given entry |
| public boolean | Returns: whether the file was written on at least oncethe database-context to export from databaseContext, FilePreferences the filePreferences to use for resolving paths filePreferences, Path the path to the file we want to write on filePath, JournalAbbreviationRepository the opened repository of journal abbreviations abbreviationRepository)Exports bib-entries a file is linked to
Behaviour in case the file is linked to different bib-entries depends on the implementation of |
| public FileType | |
| public String | |
| public String | |
| public String |
| displayName | back to summary |
|---|---|
| private final String displayName | |
| fileType | back to summary |
|---|---|
| private final FileType fileType | |
| id | back to summary |
|---|---|
| private final String id | |
| Exporter | back to summary |
|---|---|
| public Exporter(String id, String displayName, FileType extension) | |
| export | back to summary |
|---|---|
| public abstract void export(@NonNull BibDatabaseContext databaseContext, Path file, @NonNull List<BibEntry> entries) throws IOException, TransformerException, ParserConfigurationException, SaveException Performs the export. | |
| export | back to summary |
|---|---|
| public void export(BibDatabaseContext databaseContext, Path file, List<BibEntry> entries, List<Path> fileDirForDatabase, JournalAbbreviationRepository abbreviationRepository) throws IOException, SaveException, ParserConfigurationException, TransformerException | |
| exportToAllFilesOfEntry | back to summary |
|---|---|
| public boolean exportToAllFilesOfEntry(BibDatabaseContext databaseContext, FilePreferences filePreferences, BibEntry entryToWriteOn, List<BibEntry> entriesToWrite, JournalAbbreviationRepository abbreviationRepository) throws IOException, SaveException, ParserConfigurationException, TransformerException Exports to all files linked to a given entry
| |
| exportToFileByPath | back to summary |
|---|---|
| public boolean exportToFileByPath(BibDatabaseContext databaseContext, FilePreferences filePreferences, Path filePath, JournalAbbreviationRepository abbreviationRepository) throws IOException, SaveException, ParserConfigurationException, TransformerException Exports bib-entries a file is linked to
Behaviour in case the file is linked to different bib-entries depends on the implementation of
| |
| getFileType | back to summary |
|---|---|
| public FileType getFileType() Returns the type of files this exporter creates. | |
| getId | back to summary |
|---|---|
| public String getId() Returns a one-word ID (used, for example, to identify the exporter in the console). | |
| getName | back to summary |
|---|---|
| public String getName() Returns the name of the exporter (to display to the user). | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |