Uploaded image for project: 'Apache Any23 (Retired)'
  1. Apache Any23 (Retired)
  2. ANY23-101

Use RDFFormat.NQUADS in nquads module

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.8.0
    • core
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            ansell Peter Ansell
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: