[ https://issues.apache.org/jira/browse/SOLR-197?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ryan McKinley updated SOLR-197: ------------------------------- Attachment: SOLR-197-ContentStreamReader.patch Added parameters for: stream.contentType stream.file stream.file uses a FileReader unless a charset is specified. see discussion on: http://www.nabble.com/charset-specification-for-input-streams-tf3470788.html > ContentStream +Reader and Utility classes > ----------------------------------------- > > Key: SOLR-197 > URL: https://issues.apache.org/jira/browse/SOLR-197 > Project: Solr > Issue Type: Improvement > Reporter: Ryan McKinley > Priority: Minor > Fix For: 1.2 > > Attachments: SOLR-197-ContentStreamReader.patch, > SOLR-197-ContentStreamReader.patch > > > 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 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.