Top Description Fields Constructors Methods
org.jabref

public Class Launcher

extends Object
Class Inheritance
Imports
java.io.File, .IOException, java.net.Authenticator, java.nio.file.DirectoryStream, .Files, .Path, java.util.ArrayList, .Comparator, .List, .Map, org.jabref.cli.ArgumentProcessor, .JabRefCLI, org.jabref.gui.JabRefGUI, org.jabref.gui.util.DefaultDirectoryMonitor, .DefaultFileUpdateMonitor, org.jabref.logic.UiCommand, org.jabref.logic.journals.JournalAbbreviationLoader, .JournalAbbreviationRepository, org.jabref.logic.net.ProxyAuthenticator, .ProxyPreferences, .ProxyRegisterer, org.jabref.logic.net.ssl.SSLPreferences, .TrustStoreManager, org.jabref.logic.protectedterms.ProtectedTermsLoader, org.jabref.logic.remote.RemotePreferences, org.jabref.logic.remote.client.RemoteClient, org.jabref.logic.util.BuildInfo, .HeadlessExecutorService, .OS, org.jabref.migrations.PreferencesMigrations, org.jabref.model.entry.BibEntryTypesManager, org.jabref.model.util.DirectoryMonitor, .FileUpdateMonitor, org.jabref.preferences.JabRefPreferences, .PreferencesService, com.airhacks.afterburner.injection.Injector, org.apache.commons.cli.ParseException, org.slf4j.Logger, .LoggerFactory, org.slf4j.bridge.SLF4JBridgeHandler, org.tinylog.configuration.Configuration

The main entry point for the JabRef application.

It has two main functions: - Handle the command line arguments - Start the JavaFX application (if not in cli mode)

Field Summary

Modifier and TypeField and Description
private static Logger

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
private static void
private static void
configureProxy(ProxyPreferences proxyPreferences)

private static void
configureSSL(SSLPreferences sslPreferences)

private static boolean

Returns:

true if JabRef should continue starting up, false if it should quit.
handleMultipleAppInstances
(String[] args, RemotePreferences remotePreferences)

private static void
initLogging(String[] args)

This needs to be called as early as possible.

public static void
main(String[] args)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

LOGGERback to summary
private static Logger LOGGER

Constructor Detail

Launcherback to summary
public Launcher()

Method Detail

clearOldSearchIndicesback to summary
private static void clearOldSearchIndices()
configureProxyback to summary
private static void configureProxy(ProxyPreferences proxyPreferences)
configureSSLback to summary
private static void configureSSL(SSLPreferences sslPreferences)
handleMultipleAppInstancesback to summary
private static boolean handleMultipleAppInstances(String[] args, RemotePreferences remotePreferences)
Returns:boolean

true if JabRef should continue starting up, false if it should quit.

initLoggingback to summary
private static void initLogging(String[] args)

This needs to be called as early as possible. After the first log write, it is not possible to alter the log configuration programmatically anymore.

mainback to summary
public static void main(String[] args)