Coverage Report - org.galagosearch.core.store.DocumentStore
 
Classes in this File Line Coverage Branch Coverage Complexity
DocumentStore
N/A
N/A
1
 
 1  
 // BSD License (http://www.galagosearch.org/license)
 2  
 
 3  
 package org.galagosearch.core.store;
 4  
 
 5  
 import java.io.IOException;
 6  
 import org.galagosearch.core.parse.Document;
 7  
 
 8  
 /**
 9  
  * This interface abstracts a document collection.  The SnippetGenerator uses
 10  
  * this interface to fetch documents for snippeting.
 11  
  * 
 12  
  * @author trevor
 13  
  */
 14  
 public interface DocumentStore {
 15  
     Document get(String identifier) throws IOException;
 16  
     void close() throws IOException;
 17  
 }