Package com.yahoo.vespaxmlparser
Interface FeedReader
-
- All Known Implementing Classes:
JsonFeedReader
,VespaXMLFeedReader
public interface FeedReader
Minimal interface for reading operations from a stream for a feeder. Interface extracted from VespaXMLFeedReader to enable JSON feeding.- Author:
- steinar
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FeedOperation
read()
Reads the next operation from the stream.
-
-
-
Method Detail
-
read
FeedOperation read() throws java.lang.Exception
Reads the next operation from the stream.- Returns:
- operation, possibly invalid if none was found.
- Throws:
java.lang.Exception
-
-