Top Methods
org.jabref.logic.util.io

public Interface FileFinder

Known Direct Implementers
org.jabref.logic.util.io.RegExpBasedFileFinder, org.jabref.logic.util.io.CitationKeyBasedFileFinder
Imports
java.io.IOException, java.nio.file.Path, java.util.List, org.jabref.model.entry.BibEntry

Method Summary

Modifier and TypeMethod and Description
public List<Path>
findAssociatedFiles(BibEntry
The entry to search files for.
entry
,
List<Path>
The root directories to search.
directories
,
List<String>
The extensions that are acceptable.
extensions
)

Finds all files in the given directories that are probably associated with the given entries and have one of the passed extensions.

Method Detail

findAssociatedFilesback to summary
public List<Path> findAssociatedFiles(BibEntry entry, List<Path> directories, List<String> extensions) throws IOException

Finds all files in the given directories that are probably associated with the given entries and have one of the passed extensions.

Parameters
entry:BibEntry

The entry to search files for.

directories:List<Path>

The root directories to search.

extensions:List<String>

The extensions that are acceptable.