Peter Ansell created ANY23-101:
----------------------------------
Summary: Use RDFFormat.NQUADS in nquads module
Key: ANY23-101
URL: https://issues.apache.org/jira/browse/ANY23-101
Project: Apache Any23
Issue Type: Improvement
Components: core
Reporter: Peter Ansell
Sesame 2.6.6 was released today with a new format for NQuads in the Rio
RDFFormat class as a constant, ie, RDFFormat.NQUADS.
If the NQuads classes in Any23 use this constant people can use the static
methods in the Rio class to create an NQuads parser and writer without
hardcoding references to the any23 parser or writer or their factories into
their files, as RDFFormat is provided in the compact sesame-rio-api.jar module,
and the nquads module would then be detected at runtime if it was available.
For example, the following will link into the new constant where we currently
use a local constant:
@Override
public RDFFormat getRDFFormat() {
return RDFFormat.NQUADS;
}
This is the first partial step in eventually getting the NQuads parser into the
normal sesame distribution.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira