[ 
https://issues.apache.org/jira/browse/DROIDS-11?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Javier Puerto updated DROIDS-11:
--------------------------------

    Attachment: GenericTask.diff

Generated with the svn cli.

> Extract the OutgoingLinks task from Parser interface
> ----------------------------------------------------
>
>                 Key: DROIDS-11
>                 URL: https://issues.apache.org/jira/browse/DROIDS-11
>             Project: Droids
>          Issue Type: Sub-task
>          Components: core
>            Reporter: Javier Puerto
>         Attachments: GenericTask.diff, GenericTask.diff
>
>
> I'm working on the Tika integration with Droids but i found that the 
> interface org.apache.droids.api.Parser force the task list to be in the 
> parser phase. I think this is a problem, the process of the parsed data 
> should be on other point after the extraction. 
> The idea is to have an interface to extract the data (Parser) and a new 
> interface to process the data (ex. Process).
> The change could be like this:
> Parser interface
> * Parse getParse(InputStream openStream);
> Process interface 
> * void Process(InputStream openStream)
> ProcessOutgoingLinks interface (interface that extends from Process)
> * Task getOutgoingLinks(); << Previusly obtained from Process(inputStream)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to