Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-197

ContentStream +Reader and Utility classes

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.2
    • None
    • None

    Description

      In parsing content streams, it is often easier to deal with a Reader.

      This patch adds getReader() to ContentStream

      This patch also

      • moves ContentStream to o.a.s.util - This class is needed for SOLR-20 and should be eventually be in a separate .jar (SOLR-135)
      • Adds three concrete ContentStream implementations: File/URL/String
      • Adds documentation
      • test cases for File/URL/String

      Attachments

        1. SOLR-197-ContentStreamReader.patch
          26 kB
          Ryan McKinley
        2. SOLR-197-ContentStreamReader.patch
          23 kB
          Ryan McKinley

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ryantxu Ryan McKinley
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: