|
CorpusListener |
|
1 /* 2 * Copyright (c) 1998-2001, The University of Sheffield. 3 * 4 * This file is part of GATE (see http://gate.ac.uk/), and is free 5 * software, licenced under the GNU Library General Public License, 6 * Version 2, June 1991 (in the distribution as file licence.html, 7 * and also available at http://gate.ac.uk/gate/licence.html). 8 * 9 * Valentin Tablan 13/07/2001 10 * 11 * $Id: CorpusListener.java,v 1.1 2001/07/13 17:55:17 valyt Exp $ 12 */ 13 14 package gate.event; 15 16 import java.util.EventListener; 17 18 /** 19 * A listener for events fired by {@link gate.Corpus} 20 */ 21 public interface CorpusListener extends EventListener { 22 23 /** 24 * Called when a document has been added 25 */ 26 public void documentAdded(CorpusEvent e); 27 28 /** 29 * Called when a document has been removed 30 */ 31 public void documentRemoved(CorpusEvent e); 32 }
|
CorpusListener |
|