public interface ContentFetcher
Modifier and Type | Method and Description |
---|---|
java.io.InputStream |
getContent(Record record,
TaskContext taskContext)
get a stream on a content object.
|
java.io.InputStream getContent(Record record, TaskContext taskContext) throws ImportingException
record
- a crawled record describing the content object.taskContext
- the TaskContexrt containing job parameters and moreImportingException
- error accessing the content object.