|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ContentWorkerSelector
An interface instances that are able to identify content based on the content reader. This is specifically aimed at extractors, transformers, injectors and similar classes.
The notion of supplying some type of worker looks a bit odd here, but really an instance of this type will act as an optional factory. Also, in the context of the calling class, the context and the generics will identify exactly which type is returned by the factory.
Method Summary | |
---|---|
ContentWorker |
getWorker(org.alfresco.service.cmr.repository.ContentReader reader)
Provides an worker appropriate to the given content, if possible. |
Method Detail |
---|
ContentWorker getWorker(org.alfresco.service.cmr.repository.ContentReader reader)
reader
- the content reader, providing the actual stream metadata
and even the stream, if required.
org.alfresco.service.cmr.repository.ContentIOException
- if the search fails
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |