|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.semanticmetadata.lire.AbstractDocumentBuilder
public abstract class AbstractDocumentBuilder
Abstract DocumentBuilder, which uses javax.imageio.ImageIO to create a BufferedImage
from an InputStream.
This file is part of the Caliph and Emir project: http://www.SemanticMetadata.net
Date: 31.01.2006
Time: 23:07:39
| Field Summary |
|---|
| Fields inherited from interface net.semanticmetadata.lire.DocumentBuilder |
|---|
FIELD_NAME_AUTOCOLORCORRELOGRAM, FIELD_NAME_COLORLAYOUT, FIELD_NAME_EDGEHISTOGRAM, FIELD_NAME_IDENTIFIER, FIELD_NAME_SCALABLECOLOR, MAX_IMAGE_SIDE_LENGTH |
| Constructor Summary | |
|---|---|
AbstractDocumentBuilder()
|
|
| Method Summary | |
|---|---|
org.apache.lucene.document.Document |
createDocument(java.io.InputStream image,
java.lang.String identifier)
Creates a new Lucene document from an InputStream. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface net.semanticmetadata.lire.DocumentBuilder |
|---|
createDocument |
| Constructor Detail |
|---|
public AbstractDocumentBuilder()
| Method Detail |
|---|
public org.apache.lucene.document.Document createDocument(java.io.InputStream image,
java.lang.String identifier)
throws java.io.IOException
createDocument in interface DocumentBuilderimage - the image to index. Please note thatidentifier - an id for the image, for instance the filename or an URL.
java.io.IOException - in case the image cannot be retrieved from the InputStreamImageIO
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||