@ServiceProvider public class ScanHandler extends SDRFReadHandler
PROTOCOL_DELIMITERlisteners| Constructor and Description | 
|---|
ScanHandler()  | 
| 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. 
 | 
void | 
readData(String[] header,
        String[] data,
        SDRF sdrf,
        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)
SDRFReadHandlercanReadHeader in class SDRFReadHandlerheader - the first token on a line, or the column heading, which is the string describing this line
               contentspublic int assess(String[] header)
SDRFReadHandlerassess in class SDRFReadHandlerheader - the header to assesspublic void readData(String[] header, String[] data, SDRF sdrf, int lineNumber, int columnNumber) throws ParseException
SDRFReadHandlerreadData in class SDRFReadHandlerheader - the header identifying the data to readdata - the data to readsdrf - the SDRF to add data tolineNumber - the lin number this data was read fromcolumnNumber - the first column of the data being readParseException - if the header cannot be parsed or there was an error reading the valueCopyright © 2014. All rights reserved.