gov.nih.nci.caarray.services.bioassaydata.reader
Class UCSFSpotGprReader
java.lang.Object
gov.nih.nci.caarray.services.bioassaydata.reader.AbstractDataFileReader
gov.nih.nci.caarray.services.bioassaydata.reader.UCSFSpotGprReader
public final class UCSFSpotGprReader
- extends AbstractDataFileReader
Provides functionality to read GenePix GPR files.
- Author:
- ETavela
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
map
protected static java.util.HashMap<java.lang.String,QuantitationTypeDescriptor> map
- Represents a map of
dataRowValues
protected java.util.List<java.lang.String> dataRowValues
create
public static UCSFSpotGprReader create(java.io.File gprFile)
throws DataFileParseException
- Throws:
DataFileParseException
getId
public java.lang.String getId()
getRow
public int getRow()
throws DataFileParseException
- Throws:
DataFileParseException
getColumn
public int getColumn()
throws DataFileParseException
- Throws:
DataFileParseException
getBlockNumber
public int getBlockNumber()
throws DataFileParseException
- Throws:
DataFileParseException
getValueAsFloat
protected java.lang.Float getValueAsFloat(java.lang.String stringValue,
java.lang.String columnName)
throws DataFileParseException
- Throws:
DataFileParseException
close
public void close()
reset
public void reset()
throws DataFileParseException
- Overrides:
reset
in class AbstractDataFileReader
- Throws:
DataFileParseException
next
public boolean next()
throws DataFileParseException
- Specified by:
next
in class AbstractDataFileReader
- Throws:
DataFileParseException
getValue
public final java.lang.Object getValue(QuantitationTypeDescriptor descriptor)
throws DataFileParseException
- Specified by:
getValue
in class AbstractDataFileReader
- Throws:
DataFileParseException
getValueAsString
public java.lang.String getValueAsString(int columnIndex)
getValueAsStringOrNull
public java.lang.String getValueAsStringOrNull(int columnIndex)
getValueAsFloat
public java.lang.Float getValueAsFloat(int columnIndex)
throws DataFileParseException
- Throws:
DataFileParseException
getValueAsInteger
public java.lang.Integer getValueAsInteger(int columnIndex)
throws DataFileParseException
- Throws:
DataFileParseException
getValueAsBoolean
public java.lang.Boolean getValueAsBoolean(int columnIndex)
getValueAsString
protected java.lang.String getValueAsString(java.lang.String stringValueTrimmed,
java.lang.String columnName)
getValueAsBoolean
protected java.lang.Boolean getValueAsBoolean(java.lang.String stringValue,
java.lang.String columnName)
getValueAsInteger
protected java.lang.Integer getValueAsInteger(java.lang.String stringValue,
java.lang.String columnName)
throws DataFileParseException
- Throws:
DataFileParseException
getIndex
protected int getIndex(QuantitationTypeDescriptor descriptor)