[ 
https://issues.apache.org/jira/browse/ANY23-396?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16615228#comment-16615228
 ] 

ASF GitHub Bot commented on ANY23-396:
--------------------------------------

Github user HansBrende commented on the issue:

    https://github.com/apache/any23/pull/122
  
    While we're deprecating things anyway, there are a few notes of interest 
which we should mull over before any merges into master happen here:
    
    1. The method `WriterFactory.getMimeType()` appears to be redundant, as 
there also exists the `WriterFactory.getRdfFormat().getDefaultMimeType()`.
    
    2. Also note the presence of `FileFormat`, the superclass of `RDFFormat`, 
which we could possibly use to make the `FormatWriterFactory` interface more 
generic (possibly helpful for the `URIListWriterFactory`, and other writer 
factories which similarly do not print RDF triples as output).
    
    3. The method `WriterFactory.getRdfFormat()` is never actually used 
anywhere in the Any23 project.
    
    4. `JSONWriterFactory` and `URIListWriterFactory` both throw 
`RuntimeException` in the `getRdfFormat()` method (the former questionably so, 
since there exists the `RDFFormat.RDFJSON` file format).


> Add ability to run extractors in flow
> -------------------------------------
>
>                 Key: ANY23-396
>                 URL: https://issues.apache.org/jira/browse/ANY23-396
>             Project: Apache Any23
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 2.2
>            Reporter: Jacek Grzebyta
>            Assignee: Jacek Grzebyta
>            Priority: Minor
>
> Currently extractors do not work in flows. I.E. Next extractor has no any 
> access to triples made by previous one.
> It would be useful if an extractor has possibility to modify triples created 
> by another extractor.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to