com.splunk
Class MultiResultsReaderXml

java.lang.Object
  extended by com.splunk.MultiResultsReader<ResultsReaderXml>
      extended by com.splunk.MultiResultsReaderXml
All Implemented Interfaces:
java.lang.Iterable<SearchResults>

public class MultiResultsReaderXml
extends MultiResultsReader<ResultsReaderXml>

The MultiResultsReaderXml class represents a streaming XML reader for Splunk search results. This reader supports streams from export searches, which might return one of more previews before returning final results.


Constructor Summary
MultiResultsReaderXml(java.io.InputStream inputStream)
          Class constructor.
 
Method Summary
 
Methods inherited from class com.splunk.MultiResultsReader
close, iterator
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultiResultsReaderXml

public MultiResultsReaderXml(java.io.InputStream inputStream)
                      throws java.io.IOException
Class constructor. Constructs a streaming XML reader for the event stream. You should only attempt to parse an XML stream with this reader. Unpredictable results may occur if you try to parse a stream with a different format.

Parameters:
inputStream - The XML stream to parse.
Throws:
java.io.IOException