public class ProviderAttributeReader extends Object implements SDRFAttributeReader
| Constructor and Description | 
|---|
ProviderAttributeReader()  | 
| 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,
              SDRF sdrf,
              SDRFNode sdrfNode,
              int lineNumber,
              int columnNumber)
Reads the attributes from the data and sets them on the supplied SDRFNode 
 | 
public boolean canRead(String firstHeader)
SDRFAttributeReadercanRead in interface SDRFAttributeReaderfirstHeader - the first column heading to read frompublic int assess(String[] header)
SDRFAttributeReaderassess in interface SDRFAttributeReaderheader - 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 sdrfNode, int lineNumber, int columnNumber) throws ParseException
SDRFAttributeReaderreadAttributes in interface SDRFAttributeReaderheader - the header to read from, starting from attributes this reader can actually readdata - the data to readsdrf - the sdrf being read tosdrfNode - 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 reasonParseExceptionCopyright © 2014. All rights reserved.