public interface WGFileAnnotator
Modifier and Type | Method and Description |
---|---|
void |
annotateFile(javax.activation.DataSource originalfileData,
WGFileAnnotations fileAnnotations)
Method annotating the file of the given data
|
int |
getOrderNr()
Returns a number which is used by OpenWGA to determine the order in which annotators are to be executed.
|
void annotateFile(javax.activation.DataSource originalfileData, WGFileAnnotations fileAnnotations) throws WGAPIException
originalfileData
- The file data data source, able to serve multiple input streams. Does not provide specific mime type information (always returns "application/octet-stream"). Only provides name information if the file data originates from a regular attachment (not a derivate).fileAnnotations
- The annotations object of the file, where information is to be addedWGAPIException
int getOrderNr()