com.norconex.importer.tagger
Interface IDocumentTagger
- All Superinterfaces:
- IImportHandler, Serializable
- All Known Implementing Classes:
- ConstantTagger, DeleteTagger, ForceSingleValueTagger, KeepOnlyTagger, RenameTagger, ReplaceTagger
public interface IDocumentTagger
- extends IImportHandler
Tags a document with extra metadata information, or manipulate existing
metadata information.
- Author:
- Pascal Essiembre
tagDocument
void tagDocument(String reference,
InputStream document,
Properties metadata,
boolean parsed)
throws IOException
- Tags a document with extra metadata information.
- Parameters:
reference
- document reference (e.g. URL)document
- documentmetadata
- document metadataparsed
- whether the document has been parsed already or not (a
parsed document should normally be text-based)
- Throws:
IOException
- problem reading the document
Copyright © 2009-2013 Norconex Inc.. All Rights Reserved.