@ServiceProvider public class QualityControlTypeHandler extends IDFReadHandler
listeners
Constructor and Description |
---|
QualityControlTypeHandler() |
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(IDF idf,
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(IDF idf, String value, int lineNumber, String... types) throws ParseException
IDFReadHandler
readValue
in class IDFReadHandler
idf
- the IDF to read data intovalue
- the value to read into the cachelineNumber
- the line number this data is 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 supplied data could not be parsedpublic boolean canReadHeader(String header)
IDFReadHandler
canReadHeader
in class IDFReadHandler
header
- the first token on a line, or the column heading, which is the string describing this line
contentsCopyright © 2014. All rights reserved.