edu.asu.cri.MirkE.io
Class VictorTextFileDataSetLoader

java.lang.Object
  extended byedu.asu.cri.MirkE.io.VictorTextFileDataSetLoader

public class VictorTextFileDataSetLoader
extends java.lang.Object

Reads a text file generated by Victor's software (TODO - find its name) and returns a DataSet


Constructor Summary
VictorTextFileDataSetLoader()
           
 
Method Summary
static DataSet load(java.io.File file)
          load a DataSet from a Victor text dump
static DataSet load(java.io.File[] files)
          load a DataSet from a Victor text dump
static DataSet load(java.io.File file, DataSet dataSet)
          load a DataSet from a Victor text dump
static DataSet load(java.lang.String filename)
          load a DataSet from a Victor text dump
static java.lang.String parseObservableWavelengthAndType(java.lang.String victorDatasetObservableName)
           
static void processAndGuessLabelWavelengths(DataSet dataSet, java.util.Vector observables, java.util.Map protocolDescriptionMap)
           
static java.sql.Timestamp toTimestamp(java.lang.String time)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VictorTextFileDataSetLoader

public VictorTextFileDataSetLoader()
Method Detail

load

public static DataSet load(java.lang.String filename)
                    throws java.io.IOException,
                           MirkEApplicationException,
                           MirkESystemException
load a DataSet from a Victor text dump

Parameters:
filename -
Returns:
dataSet
Throws:
java.io.IOException
MirkEApplicationException
MirkESystemException

load

public static DataSet load(java.io.File[] files)
                    throws java.io.IOException,
                           MirkEApplicationException,
                           MirkESystemException
load a DataSet from a Victor text dump

Parameters:
files -
Returns:
dataSet
Throws:
java.io.IOException
MirkEApplicationException
MirkESystemException

load

public static DataSet load(java.io.File file)
                    throws java.io.IOException,
                           MirkEApplicationException,
                           MirkESystemException
load a DataSet from a Victor text dump

Parameters:
file -
Returns:
dataSet
Throws:
java.io.IOException
MirkEApplicationException
MirkESystemException

load

public static DataSet load(java.io.File file,
                           DataSet dataSet)
                    throws java.io.IOException,
                           MirkEApplicationException
load a DataSet from a Victor text dump

Parameters:
file -
dataSet - DataSet to import DataPoints into
Returns:
dataSet
Throws:
java.io.IOException
MirkEApplicationException

toTimestamp

public static java.sql.Timestamp toTimestamp(java.lang.String time)
Parameters:
time -
Returns:
timestamp

processAndGuessLabelWavelengths

public static void processAndGuessLabelWavelengths(DataSet dataSet,
                                                   java.util.Vector observables,
                                                   java.util.Map protocolDescriptionMap)
                                            throws MirkEApplicationException
Parameters:
dataSet -
observables -
protocolDescriptionMap -
Throws:
MirkEApplicationException

parseObservableWavelengthAndType

public static java.lang.String parseObservableWavelengthAndType(java.lang.String victorDatasetObservableName)
Parameters:
victorDatasetObservableName -
Returns:
formattedObservable


Copyright © 2004-2005 Arizona State University - Cancer Research Institute - hosted by Sourceforge. All Rights Reserved.