Interface AsyncByteBufferFeeder
- All Superinterfaces:
AsyncInputFeeder
- All Known Implementing Classes:
AsyncByteBufferScanner
-
Method Summary
Modifier and TypeMethodDescriptionvoidfeedInput(ByteBuffer buffer) Method that can be called to feed more data, if (and only if)AsyncInputFeeder.needMoreInput()returns true.Methods inherited from interface AsyncInputFeeder
endOfInput, needMoreInput
-
Method Details
-
feedInput
Method that can be called to feed more data, if (and only if)AsyncInputFeeder.needMoreInput()returns true.- Parameters:
buffer- Buffer that contains additional input to read- Throws:
XMLStreamException- if the state is such that this method should not be called (has not yet consumed existing input data, or has been marked as closed)
-