01: // yacySeedUploader.java
02: // -------------------------------------
03: // (C) by Michael Peter Christen; mc@anomic.de
04: // first published on http://www.anomic.de
05: // Frankfurt, Germany, 2004, 2005
06: //
07: // $LastChangedDate: 2006-02-21 01:30:38 +0100 (Di, 21 Feb 2006) $
08: // $LastChangedRevision: 1720 $
09: // $LastChangedBy: borg-0300 $
10: //
11: // This program is free software; you can redistribute it and/or modify
12: // it under the terms of the GNU General Public License as published by
13: // the Free Software Foundation; either version 2 of the License, or
14: // (at your option) any later version.
15: //
16: // This program is distributed in the hope that it will be useful,
17: // but WITHOUT ANY WARRANTY; without even the implied warranty of
18: // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19: // GNU General Public License for more details.
20: //
21: // You should have received a copy of the GNU General Public License
22: // along with this program; if not, write to the Free Software
23: // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
24: //
25: // Using this software in any meaning (reading, learning, copying, compiling,
26: // running) means that you agree that the Author(s) is (are) not responsible
27: // for cost, loss of data or any harm that may be caused directly or indirectly
28: // by usage of this softare or this documentation. The usage of this software
29: // is on your own risk. The installation and usage (starting/running) of this
30: // software may allow other people or application to access your computer and
31: // any attached devices and is highly dependent on the configuration of the
32: // software which must be done by the user of the software; the author(s) is
33: // (are) also not responsible for proper configuration and usage of the
34: // software, even if provoked by documentation provided together with
35: // the software.
36: //
37: // Any changes to this file according to the GPL as documented in the file
38: // gpl.txt aside this file in the shipment you received can be done to the
39: // lines that follows this copyright notice here, but changes must not be
40: // done inside the copyright notive above. A re-distribution must contain
41: // the intact and unchanged copyright notice.
42: // Contributions and changes to the program code must be marked as such.
43:
44: package de.anomic.yacy;
45:
46: import java.io.File;
47:
48: import de.anomic.server.serverSwitch;
49:
50: public interface yacySeedUploader {
51: public String uploadSeedFile(serverSwitch sb, yacySeedDB seedDB,
52: File seedFile) throws Exception;
53:
54: public String[] getConfigurationOptions();
55:
56: public String[] getLibxDependencies();
57: }
|