blob: c993d5a5153472963d9b4b1cd95c4b427e8bfa99 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespaxmlparser;
/**
* Minimal interface for reading operations from a stream for a feeder.
*
* Interface extracted from VespaXMLFeedReader to enable JSON feeding.
*
* @author steinar
*/
public interface FeedReader {
/**
* Reads the next operation from the stream.
* @return operation, possibly invalid if none was found.
*/
FeedOperation read() throws Exception;
}
|