net.semanticmetadata.lire.impl
Class DocumentFactory

java.lang.Object
  extended by net.semanticmetadata.lire.impl.DocumentFactory

public class DocumentFactory
extends java.lang.Object

Factory for creating documents for one color images in a fast and efficient way. This file is part of the Caliph and Emir project: http://www.SemanticMetadata.net
Date: 14.12.2006
Time: 13:03:30

Author:
Mathias Lux, mathias@juggle.at

Constructor Summary
DocumentFactory()
           
 
Method Summary
static org.apache.lucene.document.Document createColorOnlyDocument(java.awt.Color color)
          Creates a document from a (non existent) one color image.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DocumentFactory

public DocumentFactory()
Method Detail

createColorOnlyDocument

public static org.apache.lucene.document.Document createColorOnlyDocument(java.awt.Color color)
Creates a document from a (non existent) one color image. Can be used for color search.

Parameters:
color - the color for the image
Returns:
the document for searching.