org.jabref.model.database.BibDatabase .
The result is used to determine whether to link the files to an existing related entry or to create a new entry, according to the user's choice.
Related: org.
| Modifier and Type | Field and Description |
|---|---|
| private final AutoLinkPreferences | |
| private final BibDatabaseContext | |
| private final DateRange | |
| private final Path | |
| private final ExternalApplicationsPreferences | |
| private final DirectoryStream. | |
| private final FilePreferences | |
| private static final Logger | |
| private final ExternalFileSorter |
| Access | Constructor and Description |
|---|---|
| public | UnlinkedFilesCrawler(Path directory, DirectoryStream.
|
| Modifier and Type | Method and Description |
|---|---|
| public UnlinkedFilesSearchResult | |
| private Map | |
| pack-priv FileNodeViewModel | Returns: FileNodeViewModel containing the data of the current directory and all subdirectoriescontains a BibDatabaseContext which is used to determine whether the file is linked unlinkedPDFFileFilter)Searches recursively all files in the specified directory. |
| autoLinkPreferences | back to summary |
|---|---|
| private final AutoLinkPreferences autoLinkPreferences | |
| databaseContext | back to summary |
|---|---|
| private final BibDatabaseContext databaseContext | |
| dateFilter | back to summary |
|---|---|
| private final DateRange dateFilter | |
| directory | back to summary |
|---|---|
| private final Path directory | |
| externalApplicationsPreferences | back to summary |
|---|---|
| private final ExternalApplicationsPreferences externalApplicationsPreferences | |
| fileFilter | back to summary |
|---|---|
| private final DirectoryStream. | |
| filePreferences | back to summary |
|---|---|
| private final FilePreferences filePreferences | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| sorter | back to summary |
|---|---|
| private final ExternalFileSorter sorter | |
| UnlinkedFilesCrawler | back to summary |
|---|---|
| public UnlinkedFilesCrawler(Path directory, DirectoryStream. | |
| call | back to summary |
|---|---|
| public UnlinkedFilesSearchResult call() throws IOException
| |
| findRelatedEntriesByFile | back to summary |
|---|---|
| private Map | |
| searchDirectory | back to summary |
|---|---|
| pack-priv FileNodeViewModel searchDirectory(Path directory, UnlinkedPDFFileFilter unlinkedPDFFileFilter) throws IOException Searches recursively all files in the specified directory. All files matched by the given The result will be a tree structure of nodes of the type The user objects that are attached to the nodes is the For ensuring the capability to cancel the work of this recursive method, the first position in the integer array 'state' must be set to 1, to keep the recursion running. When the states value changes, the method will resolve its recursion and return what it has saved so far. The files are filtered according to the
| |