| Modifier and Type | Field and Description |
|---|---|
| private final char | |
| private static final Logger |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public synchronized void | merge(BibDatabase target, BibDatabase
The other databases that is merged into this database other)Merges all entries and strings of the other database into the target database. |
| public synchronized void | merge(BibDatabaseContext target, BibDatabaseContext
The other databases that is merged into this database other, String otherFileName)Merges all entries, strings, and metaData of the other database context into the target database context. |
| private void | |
| private void | mergeEntries(BibDatabase target, BibDatabase other)
Merges all entries of the other database into the target database. |
| private void | |
| private void | |
| public void | |
| public void |
| keywordDelimiter | back to summary |
|---|---|
| private final char keywordDelimiter | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| DatabaseMerger | back to summary |
|---|---|
| public DatabaseMerger(char keywordDelimiter) | |
| merge | back to summary |
|---|---|
| public synchronized void merge(BibDatabase target, BibDatabase other) Merges all entries and strings of the other database into the target database. Any duplicates are ignored. In case a string has a different content, it is added with a new unique name. The unique name is generated by suffix "_i", where i runs from 1 onwards.
| |
| merge | back to summary |
|---|---|
| public synchronized void merge(BibDatabaseContext target, BibDatabaseContext other, String otherFileName) Merges all entries, strings, and metaData of the other database context into the target database context. Any duplicates are ignored. In case a string has a different content, it is added with a new unique name. The unique name is generated by suffix "_i", where i runs from 1 onwards.
| |
| mergeContentSelectors | back to summary |
|---|---|
| private void mergeContentSelectors(MetaData target, MetaData other) | |
| mergeEntries | back to summary |
|---|---|
| private void mergeEntries(BibDatabase target, BibDatabase other) Merges all entries of the other database into the target database. Duplicate entries are not inserted. If a duplicate is detected, its groups field is union-merged into the existing entry. | |
| mergeGroups | back to summary |
|---|---|
| private void mergeGroups(@NonNull MetaData target, @NonNull MetaData other, @NonNull String otherFilename, @NonNull List<BibEntry> allOtherEntries) | |
| mergeGroupsField | back to summary |
|---|---|
| private void mergeGroupsField(BibEntry surviving, BibEntry dropped) | |
| mergeMetaData | back to summary |
|---|---|
| public void mergeMetaData(@NonNull MetaData target, @NonNull MetaData other, @NonNull String otherFilename, @NonNull List<BibEntry> allOtherEntries) | |
| mergeStrings | back to summary |
|---|---|
| public void mergeStrings(BibDatabase target, BibDatabase other) | |