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

public Class Directories

extends Object
Class Inheritance
Imports
java.io.File, java.nio.file.Path, org.jabref.logic.ai.AiService, org.jabref.logic.os.OS, org.jabref.model.search.LinkedFilesConstants, net.harawata.appdirs.AppDirsFactory

This collects all directories based on AppDirs. OS-dependent directories are handled in the NativeDesktop class. See e.g. org.jabref.gui.desktop.os.NativeDesktop#getApplicationDirectory()

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static Path
public static Path
public static Path
public static Path
public static Path
public static Path
public static Path
public static Path
getSharedDatabaseDirectory()

Changes made while a shared database was unreachable, one file per database (see org.jabref.logic.shared.OfflineChanges)

public static Path
public static Path

Returns:

the path
getUserDirectory
()

Returns the path to the system's user directory.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

Directoriesback to summary
public Directories()

Method Detail

getAiFilesDirectoryback to summary
public static Path getAiFilesDirectory()
getBackupDirectoryback to summary
public static Path getBackupDirectory()
getCitationsRelationsDirectoryback to summary
public static Path getCitationsRelationsDirectory()
getCoverDirectoryback to summary
public static Path getCoverDirectory()
getFulltextIndexBaseDirectoryback to summary
public static Path getFulltextIndexBaseDirectory()
getLogDirectoryback to summary
public static Path getLogDirectory(Version version)
getMscDirectoryback to summary
public static Path getMscDirectory()
getSharedDatabaseDirectoryback to summary
public static Path getSharedDatabaseDirectory()

Changes made while a shared database was unreachable, one file per database (see org.jabref.logic.shared.OfflineChanges)

getSslDirectoryback to summary
public static Path getSslDirectory()
getUserDirectoryback to summary
public static Path getUserDirectory()

Returns the path to the system's user directory.

Returns:Path

the path