Class OutputFormatSpec

java.lang.Object
org.aksw.jena_sparql_api.rx.io.resultset.OutputFormatSpec

public class OutputFormatSpec extends Object
  • Field Details

    • outputMode

      protected OutputMode outputMode
    • outRdfLang

      protected org.apache.jena.riot.Lang outRdfLang
    • outRdfFormat

      protected org.apache.jena.riot.RDFFormat outRdfFormat
  • Constructor Details

    • OutputFormatSpec

      public OutputFormatSpec(OutputMode outputMode, org.apache.jena.riot.RDFFormat outRdfFormat, org.apache.jena.riot.Lang outLang)
  • Method Details

    • getOutputMode

      public OutputMode getOutputMode()
    • getOutRdfFormat

      public org.apache.jena.riot.RDFFormat getOutRdfFormat()
    • getOutLang

      public org.apache.jena.riot.Lang getOutLang()
    • create

      public static OutputFormatSpec create(String outFormat, org.apache.jena.riot.RDFFormat tripleFormat, org.apache.jena.riot.RDFFormat quadFormat, Collection<? extends SparqlStmt> stmts, boolean jqMode)
      Determine the output format. The 'outFormat' parameter forces a specific output format. As a falback Analyze a given collection of statements and
      Parameters:
      outFormat -
      tripleFormat -
      quadFormat -
      stmts -
      jqMode -
      Returns:
    • getFileExtension

      public String getFileExtension()
      Return the file extension that corresponds to the output language