19 package org.sleuthkit.autopsy.keywordsearch;
21 import java.beans.PropertyChangeEvent;
22 import java.beans.PropertyChangeListener;
23 import java.util.ArrayList;
24 import java.util.List;
25 import java.util.Observable;
43 this.listsChangeListener =
new PropertyChangeListener() {
45 public void propertyChange(PropertyChangeEvent evt) {
50 XmlKeywordSearchList.getCurrent().addPropertyChangeListener(this.listsChangeListener);
57 if (instance == null) {
69 List<String> names =
new ArrayList<>();
70 for (
KeywordList list : XmlKeywordSearchList.getCurrent().getListsL()) {
71 names.add(list.getName());
80 XmlKeywordSearchList.getCurrent().reload();
static KeywordListsManager instance
static void reloadKeywordLists()
List< String > getKeywordListNames()
static synchronized KeywordListsManager getInstance()
final PropertyChangeListener listsChangeListener