public abstract class ArrayDesignAttributeReader extends Object implements SDRFAttributeReader
Constructor and Description |
---|
ArrayDesignAttributeReader() |
Modifier and Type | Method and Description |
---|---|
int |
assess(String[] header)
Returns an integer representing the number of columns this handler can read forward of the given header.
|
void |
readAttributes(String[] header,
String[] data,
SDRF sdrf,
SDRFNode parentNode,
int lineNumber,
int columnNumber)
Reads the attributes from the data and sets them on the supplied SDRFNode
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
canRead
public int assess(String[] header)
SDRFAttributeReader
assess
in interface SDRFAttributeReader
header
- the header to be passed to this attribute reader. This should start at a column this reader can
actually readpublic void readAttributes(String[] header, String[] data, SDRF sdrf, SDRFNode parentNode, int lineNumber, int columnNumber) throws ParseException
SDRFAttributeReader
readAttributes
in interface SDRFAttributeReader
header
- the header to read from, starting from attributes this reader can actually readdata
- the data to readsdrf
- the sdrf being read toparentNode
- the SDRF node that these attributes should be set onlineNumber
- the line this data is read fromcolumnNumber
- the column this data is read from @throws ParseException if the data could not be read for
any reasonParseException
Copyright © 2014. All rights reserved.