@ServiceProvider public class FeatureHandler extends ADFGraphReadHandler
listeners| Constructor and Description |
|---|
FeatureHandler() |
| Modifier and Type | Method and Description |
|---|---|
int |
assess(String[] header)
Return the index of the last header this handler can read from in the supplied header.
|
boolean |
canReadHeader(String[] header)
Determine whether this handler can read the data referenced by this header.
|
protected void |
readData(String[] header,
String[] value,
ADF adf,
int lineNumber,
int columnNumber)
Performs the unit of work to read the data into the internal datamodel.
|
assessAttribute, canRead, read, readAttribute, updateChildNodeaccept, addListener, fireHandlingFailedEvent, fireHandlingStartedEvent, fireHandlingSucceededEvent, getListeners, getLog, removeListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaccept, addListener, getListeners, removeListenerpublic boolean canReadHeader(String[] header)
ADFGraphReadHandlercanReadHeader in class ADFGraphReadHandlerheader - the first token on a line, or the column heading, which is the string describing this line
contentspublic int assess(String[] header)
ADFGraphReadHandlerassess in class ADFGraphReadHandlerheader - the header to assessprotected void readData(String[] header, String[] value, ADF adf, int lineNumber, int columnNumber) throws ParseException
ADFGraphReadHandlerreadData in class ADFGraphReadHandlerheader - the header identifying the data to readvalue - the data to readadf - the ADF to populate with parsed datalineNumber - the line this data is read fromcolumnNumber - the column this data is read fromParseException - if the header cannot be parsed or there was an error reading the valueCopyright © 2014. All rights reserved.