@ServiceProvider public class TechnologyTypeTermAccessionHandler extends ADFHeaderReadHandler
listeners
Constructor and Description |
---|
TechnologyTypeTermAccessionHandler() |
Modifier and Type | Method and Description |
---|---|
boolean |
canReadHeader(String header)
Determine whether this handler can read the data referenced by this header.
|
protected void |
readValue(ADF adf,
String value,
int lineNumber,
String... types)
Performs the unit of work to read the data into the internal MAGE-TAB investigation.
|
canRead, getAllowedLength, read
accept, addListener, fireHandlingFailedEvent, fireHandlingStartedEvent, fireHandlingSucceededEvent, getListeners, getLog, removeListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
accept, addListener, getListeners, removeListener
protected void readValue(ADF adf, String value, int lineNumber, String... types) throws ParseException
ADFHeaderReadHandler
readValue
in class ADFHeaderReadHandler
adf
- the ADF to populate with parsed datavalue
- the value to read into the cachelineNumber
- the line number this value is being read fromtypes
- a single string representing the type, if present. Should not normally be greater than 1
element long @throws ParseException if the header cannot be parsed or there was an error
reading the valueParseException
- if the given data failed to parsepublic boolean canReadHeader(String header)
ADFHeaderReadHandler
canReadHeader
in class ADFHeaderReadHandler
header
- the first token on a line, or the column heading, which is the string describing this line
contentsCopyright © 2014. All rights reserved.