ants.p2p.utils.indexer
Class PartialFileDocument

java.lang.Object
  extended by ants.p2p.utils.indexer.PartialFileDocument

public class PartialFileDocument
extends java.lang.Object

A utility for making Lucene Documents from a File.


Method Summary
static org.apache.lucene.document.Document Document(InterruptedDownload id)
           
static org.apache.lucene.document.Document Document(MultipleSourcesDownloadManager msdm)
          Makes a document for a File.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

Document

public static org.apache.lucene.document.Document Document(MultipleSourcesDownloadManager msdm)
Makes a document for a File.

The document has three fields:


Document

public static org.apache.lucene.document.Document Document(InterruptedDownload id)