|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.splunk.ResultsReader
com.splunk.ResultsReaderXml
public class ResultsReaderXml
The ResultsReaderXml
class represents a streaming XML reader for
Splunk search results.
Constructor Summary | |
---|---|
ResultsReaderXml(java.io.InputStream inputStream)
Class constructor. |
Method Summary | |
---|---|
void |
close()
Closes the reader and returns resources. |
Event |
getNextEvent()
Returns the next event in the event stream. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ResultsReaderXml(java.io.InputStream inputStream) throws java.io.IOException
inputStream
- The stream to parse.
java.lang.Exception
- On exception.
java.io.IOException
Method Detail |
---|
public void close() throws java.io.IOException
close
in class ResultsReader
java.io.IOException
- On IO exception.public Event getNextEvent() throws java.io.IOException
getNextEvent
in class ResultsReader
Event
class to interpret multi-item values.
java.io.IOException
- On IO exception.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |