Class ResultsReader.Builder

  • Enclosing class:

    public static class ResultsReader.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • 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.
      • read

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

        public ResultSet read​( input)
        Short form equivalent to .build().read(InputStreams)