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

public Class DummyFileUpdateMonitor

extends Object
implements FileUpdateMonitor
Class Inheritance
All Implemented Interfaces
org.jabref.model.util.FileUpdateMonitor
Imports
java.nio.file.Path

This FileUpdateMonitor does nothing. Normally, you want to use org.jabref.gui.util.DefaultFileUpdateMonitor except if you don't care about updates.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
public boolean
isActive()

Implements org.jabref.model.util.FileUpdateMonitor.isActive.

Indicates whether the native system's file monitor has successfully started.

public void
removeListener(Path path, FileUpdateListener listener)

Implements org.jabref.model.util.FileUpdateMonitor.removeListener.

Removes a listener from the monitor.

public void
shutdown()

Implements org.jabref.model.util.FileUpdateMonitor.shutdown.

stops watching for changes

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

DummyFileUpdateMonitorback to summary
public DummyFileUpdateMonitor()

Method Detail

addListenerForFileback to summary
public void addListenerForFile(Path file, FileUpdateListener listener)

Implements org.jabref.model.util.FileUpdateMonitor.addListenerForFile.

Doc from org.jabref.model.util.FileUpdateMonitor.addListenerForFile.

Add a new file to monitor.

Annotations
@Override
isActiveback to summary
public boolean isActive()

Implements org.jabref.model.util.FileUpdateMonitor.isActive.

Doc from org.jabref.model.util.FileUpdateMonitor.isActive.

Indicates whether the native system's file monitor has successfully started.

Annotations
@Override
removeListenerback to summary
public void removeListener(Path path, FileUpdateListener listener)

Implements org.jabref.model.util.FileUpdateMonitor.removeListener.

Doc from org.jabref.model.util.FileUpdateMonitor.removeListener.

Removes a listener from the monitor.

Annotations
@Override
shutdownback to summary
public void shutdown()

Implements org.jabref.model.util.FileUpdateMonitor.shutdown.

Doc from org.jabref.model.util.FileUpdateMonitor.shutdown.

stops watching for changes

Annotations
@Override