This class provides some functionality to search in a org. for files.
| Modifier and Type | Field and Description |
|---|---|
| private final Set | |
| private final Path | |
| private final List |
| Access | Constructor and Description |
|---|---|
| public | DatabaseFileLookup(@NonNull BibDatabaseContext databaseContext, FilePreferences filePreferences)
Creates an instance by passing a |
| Modifier and Type | Method and Description |
|---|---|
| public Path | |
| public boolean | Returns: true, if the file Object is stored in at least one
entry in the database, otherwise false.Returns whether the File |
| private List |
| fileCache | back to summary |
|---|---|
| private final Set<Path> fileCache | |
| pathOfDatabase | back to summary |
|---|---|
| private final Path pathOfDatabase | |
| possibleFilePaths | back to summary |
|---|---|
| private final List<Path> possibleFilePaths | |
| DatabaseFileLookup | back to summary |
|---|---|
| public DatabaseFileLookup(@NonNull BibDatabaseContext databaseContext, FilePreferences filePreferences) Creates an instance by passing a | |
| getPathOfDatabase | back to summary |
|---|---|
public Path getPathOfDatabase()
| |
| lookupDatabase | back to summary |
|---|---|
| public boolean lookupDatabase(Path pathname) Returns whether the File To do this, the field specified by the key file will be searched
for the provided file for every For the matching, the absolute file paths will be used.
| |
| parseFileField | back to summary |
|---|---|
| private List | |