Verified Owner
Top Description Constructors Methods
org.jabref.logic.biblog

public Class BibLogPathResolver

extends Object
Class Inheritance
Imports
java.nio.file.Path, java.util.Optional, org.jabref.model.database.BibDatabaseContext, org.jabref.model.metadata.MetaData

Resolves custom or default .blg path for this library.

Priority:

  1. User-defined path from MetaData
  2. Default: same name as .bib file with .blg extension

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static Optional<Path>
resolve(BibDatabaseContext context)

Resolves .blg path using current user context.

public static Optional<Path>
resolve(MetaData metaData, Optional<Path> databasePath, String user)

Test-friendly API (allows direct input of MetaData and Path)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

BibLogPathResolverback to summary
public BibLogPathResolver()

Method Detail

resolveback to summary
public static Optional<Path> resolve(BibDatabaseContext context)

Resolves .blg path using current user context.

resolveback to summary
public static Optional<Path> resolve(MetaData metaData, Optional<Path> databasePath, String user)

Test-friendly API (allows direct input of MetaData and Path)