Github user HansBrende commented on the issue:

    https://github.com/apache/any23/pull/122
  
    I've taken another look at the `RDFFormat` class, and it turns out that we 
don't really need the new method: `FileFormat getFormat()` because any 
`RDFFormat` can be converted from a `FileFormat` by constructing it with a 
`null` standard URI, and setting both "supports namespaces" and "supports 
contexts" to `false`. This should be applicable to any writer, even those that 
don't print out a standardized RDF format. E.g., in the `URIListWriter` class, 
"supports namespaces" and "supports contexts" are clearly false since the class 
only writes out subjects; but does not write out predicates, objects, 
namespaces, or contexts.
    
    Therefore, I think I'm going to drop the new `FileFormat getFormat()` 
method and retain the `RDFFormat getRdfFormat()` method.


---

Reply via email to