Revision: 2318 http://archive-access.svn.sourceforge.net/archive-access/?rev=2318&view=rev Author: bradtofel Date: 2008-06-24 17:20:01 -0700 (Tue, 24 Jun 2008) Log Message: ----------- INITIAL REV: interface extension to SearchResultSource that allows updates. Added Paths: ----------- trunk/archive-access/projects/wayback/wayback-core/src/main/java/org/archive/wayback/resourceindex/UpdatableSearchResultSource.java Added: trunk/archive-access/projects/wayback/wayback-core/src/main/java/org/archive/wayback/resourceindex/UpdatableSearchResultSource.java =================================================================== --- trunk/archive-access/projects/wayback/wayback-core/src/main/java/org/archive/wayback/resourceindex/UpdatableSearchResultSource.java (rev 0) +++ trunk/archive-access/projects/wayback/wayback-core/src/main/java/org/archive/wayback/resourceindex/UpdatableSearchResultSource.java 2008-06-25 00:20:01 UTC (rev 2318) @@ -0,0 +1,42 @@ +/* UpdatableSearchResultSource + * + * $Id$ + * + * Created on 3:34:37 PM Jun 24, 2008. + * + * Copyright (C) 2008 Internet Archive. + * + * This file is part of wayback. + * + * wayback is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser Public License as published by + * the Free Software Foundation; either version 2.1 of the License, or + * any later version. + * + * wayback is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser Public License for more details. + * + * You should have received a copy of the GNU Lesser Public License + * along with wayback; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ +package org.archive.wayback.resourceindex; + +import java.io.IOException; +import java.util.Iterator; + +import org.archive.wayback.UrlCanonicalizer; +import org.archive.wayback.core.SearchResult; + +/** + * + * + * @author brad + * @version $Date$, $Revision$ + */ +public interface UpdatableSearchResultSource extends SearchResultSource { + public void addSearchResults(Iterator<SearchResult> itr, + UrlCanonicalizer canonicalizer) throws IOException; +} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |