Class ResultsReader.Builder

java.lang.Object
org.apache.jena.sparql.resultset.ResultsReader.Builder
Enclosing class:
ResultsReader

public static class ResultsReader.Builder extends Object
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • lang

      public ResultsReader.Builder lang(Lang hintLang)
      Provide a Lang for the parser. The declared MIME type takes precedence, the file extension does not.
    • forceLang

      public ResultsReader.Builder forceLang(Lang forceLang)
      Provide a Lang for the parser. This setting overrides any declared MIME type or file extension.
    • context

      public ResultsReader.Builder context(Context context)
      Set the Context. This defaults to the global settings of ARQ.getContext().
    • build

      public ResultsReader build()
      Build a ResultsReader
    • read

      public ResultSet read(String url)
      Short form equivalent to .build().read(url)
    • read

      public ResultSet read(InputStream input)
      Short form equivalent to .build().read(InputStreams)
    • readRowSet

      public RowSet readRowSet(String url)
      Short form equivalent to .build().read(url)
    • readRowSet

      public RowSet readRowSet(InputStream input)
      Short form equivalent to .build().read(InputStreams)