Coverage Report - org.galagosearch.core.store.NullStore
 
Classes in this File Line Coverage Branch Coverage Complexity
NullStore
0%
0/4
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  
  * A very simple DocumentStore when the original document contents are not available.
 10  
  *
 11  
  * @author trevor
 12  
  */
 13  0
 public class NullStore implements DocumentStore {
 14  
     public Document get(String identifier) throws IOException {
 15  0
         Document document = new Document(identifier, "");
 16  0
         return document;
 17  
     }
 18  
 
 19  
     public void close() throws IOException {
 20  0
     }
 21  
 }