1 | /**
|
---|
2 | *#########################################################################
|
---|
3 | *
|
---|
4 | * A component of the Greenstone Librarian Interface (GLI) application,
|
---|
5 | * part of the Greenstone digital library software suite from the New
|
---|
6 | * Zealand Digital Library Project at the University of Waikato,
|
---|
7 | * New Zealand.
|
---|
8 | *
|
---|
9 | * Author: John Thompson
|
---|
10 | * Greenstone Project, New Zealand Digital Library
|
---|
11 | * University of Waikato
|
---|
12 | * http://www.nzdl.org
|
---|
13 | *
|
---|
14 | * Copyright (C) 2004 New Zealand Digital Library, University of Waikato
|
---|
15 | *
|
---|
16 | * This program is free software; you can redistribute it and/or modify
|
---|
17 | * it under the terms of the GNU General Public License as published by
|
---|
18 | * the Free Software Foundation; either version 2 of the License, or
|
---|
19 | * (at your option) any later version.
|
---|
20 | *
|
---|
21 | * This program is distributed in the hope that it will be useful,
|
---|
22 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
23 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
---|
24 | * GNU General Public License for more details.
|
---|
25 | *
|
---|
26 | * You should have received a copy of the GNU General Public License
|
---|
27 | * along with this program; if not, write to the Free Software
|
---|
28 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
---|
29 | *########################################################################
|
---|
30 | */
|
---|
31 | package org.greenstone.gatherer.util;
|
---|
32 |
|
---|
33 |
|
---|
34 | /** Any class that wants to act as the owner of an AppendLineOnlyFileDocument has to implement this.
|
---|
35 | * @author John Thompson, Greenstone Project, New Zealand Digital Library, University of Waikato
|
---|
36 | * @version 2.41 final
|
---|
37 | */
|
---|
38 | public interface AppendLineOnlyFileDocumentOwner {
|
---|
39 | /** Remove the given document from the owner. The is called by the document itself when it no longer needs a hanging reference in the owner class.
|
---|
40 | * @param document the AppendLineOnlyFileDocument to remove
|
---|
41 | */
|
---|
42 | public void remove(AppendLineOnlyFileDocument document);
|
---|
43 | }
|
---|
44 |
|
---|
45 |
|
---|
46 |
|
---|