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);
59 if (instance == null) {
71 List<String> names =
new ArrayList<>();
72 for (
KeywordList list : XmlKeywordSearchList.getCurrent().getListsL()) {
73 names.add(list.getName());
86 return XmlKeywordSearchList.getCurrent().getList(name);
93 XmlKeywordSearchList.getCurrent().reload();
static KeywordListsManager instance
static void reloadKeywordLists()
List< String > getKeywordListNames()
KeywordList getList(String name)
static synchronized KeywordListsManager getInstance()
final PropertyChangeListener listsChangeListener