public abstract class StreamingHandler extends ElementHandler
Constructor and Description |
---|
StreamingHandler() |
Modifier and Type | Method and Description |
---|---|
abstract void |
feed(InputStream in)
Consumes a decoded input stream containing the data of a table,
encoded according to the rules specified by this element.
|
protected void |
foundRow()
Invoked to log that a row has been counted (used for keeping track
of how many have been seen).
|
FieldHandler[] |
getFields()
Returns the fields used for this stream.
|
void |
startElement()
Called after the attributes have been set and checked.
|
characters, configure, endElement, error, getAncestry, getAttribute, getContext, getName, getRef, info, registerChildName, setAncestry, setAttributes, toString, warning
public void startElement()
ElementHandler
startElement
in class ElementHandler
public FieldHandler[] getFields()
protected void foundRow()
public abstract void feed(InputStream in) throws IOException
in
- input stream to readIOException
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.