@Spi public interface ReadHandler<H,D,T> extends Handler
Handler that enables read functionality over a section of MAGE-TAB.| Modifier and Type | Method and Description |
|---|---|
boolean |
canRead(Object header)
Determine whether this handler can read the supplied header.
|
void |
read(H header,
D data,
T target,
int lineNumber,
int columnNumber)
Cause the handler to read the supplied data into the supplied target object.
|
accept, addListener, getListeners, removeListenerboolean canRead(Object header)
header - the data that will be validatedvoid read(H header, D data, T target, int lineNumber, int columnNumber) throws ParseException
header - the header identifying the type of the datadata - the data to be readtarget - the object that the data will be read intolineNumber - the line number of the field this data was read fromcolumnNumber - the column number of the field this data was read fromParseException - if parsing failedCopyright © 2014. All rights reserved.