| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static boolean | mergeCitationKey(BibEntry entryFromFetcher, BibEntry entryFromLibrary, CompoundEdit compoundEdit)
Adopts the fetcher-provided citation key (e.g. an INSPIRE texkey) onto the library entry, but only if the library entry doesn't already have one — an existing, possibly user-chosen key is never overwritten by this merge. |
| public static boolean | mergeEntries(BibEntry
The entry containing new information (source, from the fetcher) entryFromFetcher, BibEntry The entry to be updated (target, from the library) entryFromLibrary, CompoundEdit Compound edit to collect undo information compoundEdit, char Separator character used for union-merging the groups field keywordSeparator)Merges two BibEntry objects with undo support. |
| private static boolean | |
| private static boolean | mergeFields(BibEntry entryFromFetcher, BibEntry entryFromLibrary, CompoundEdit compoundEdit, char keywordSeparator)
|
| private static boolean | removeFieldsNotPresentInFetcher(BibEntry entryFromFetcher, BibEntry entryFromLibrary, CompoundEdit compoundEdit)
|
| private static boolean |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| MergeEntriesHelper | back to summary |
|---|---|
| private MergeEntriesHelper() | |
| mergeCitationKey | back to summary |
|---|---|
| private static boolean mergeCitationKey(BibEntry entryFromFetcher, BibEntry entryFromLibrary, CompoundEdit compoundEdit) Adopts the fetcher-provided citation key (e.g. an INSPIRE texkey) onto the library entry, but only if the library entry doesn't already have one — an existing, possibly user-chosen key is never overwritten by this merge. | |
| mergeEntries | back to summary |
|---|---|
| public static boolean mergeEntries(BibEntry entryFromFetcher, BibEntry entryFromLibrary, CompoundEdit compoundEdit, char keywordSeparator) Merges two BibEntry objects with undo support.
| |
| mergeEntryType | back to summary |
|---|---|
| private static boolean mergeEntryType(BibEntry entryFromFetcher, BibEntry entryFromLibrary, CompoundEdit compoundEdit) | |
| mergeFields | back to summary |
|---|---|
| private static boolean mergeFields(BibEntry entryFromFetcher, BibEntry entryFromLibrary, CompoundEdit compoundEdit, char keywordSeparator) | |
| removeFieldsNotPresentInFetcher | back to summary |
|---|---|
| private static boolean removeFieldsNotPresentInFetcher(BibEntry entryFromFetcher, BibEntry entryFromLibrary, CompoundEdit compoundEdit) | |
| shouldUpdateField | back to summary |
|---|---|
| private static boolean shouldUpdateField(Field field, String fetcherValue, Optional<String> libraryValue) | |