public class ReporterGroupAttributeReader extends Object implements ADFAttributeReader
Constructor and Description |
---|
ReporterGroupAttributeReader() |
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.
|
boolean |
canRead(String firstHeader)
Determine whether this reader can read the attributes referenced by this header.
|
void |
readAttributes(String[] header,
String[] data,
ADFNode adfNode)
Reads the attributes from the data and sets them on the supplied SDRFNode
|
public boolean canRead(String firstHeader)
ADFAttributeReader
canRead
in interface ADFAttributeReader
firstHeader
- the first column heading to read frompublic int assess(String[] header)
ADFAttributeReader
assess
in interface ADFAttributeReader
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, ADFNode adfNode) throws ParseException
ADFAttributeReader
readAttributes
in interface ADFAttributeReader
header
- the header to read from, starting from attributes this reader can actually readdata
- the data to readadfNode
- the ADF node that these attributes should be set onParseException
- if the data could not be read for any reasonCopyright © 2014. All rights reserved.