You are viewing a plain text version of this content. The canonical link for it is here.
Posted to droids-dev@incubator.apache.org by "Javier Puerto (JIRA)" <ji...@apache.org> on 2010/04/30 14:43:53 UTC
[jira] Updated: (DROIDS-11) Extract the OutgoingLinks task from
Parser interface
[ 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
Refactored method
Collection<Link> getOutlinks()
by
Collection<? extends Task> getNewTasks();
Old method as setted as deprecated.
> 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
>
>
> 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.