|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.starlink.ttools.lint.ElementHandler
uk.ac.starlink.ttools.lint.StreamingHandler
public abstract class StreamingHandler
Abstract handler superclass for elements with STREAM children (BINARY or FITS).
Constructor Summary | |
---|---|
StreamingHandler()
|
Method Summary | |
---|---|
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. |
Methods inherited from class uk.ac.starlink.ttools.lint.ElementHandler |
---|
characters, configure, endElement, error, getAncestry, getAttribute, getContext, getName, getRef, info, registerChildName, setAncestry, setAttributes, toString, warning |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public StreamingHandler()
Method Detail |
---|
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 read
IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |