BDVal API 20110316173314

org.bdval.tools.convert
Interface IDataFormatter

All Known Implementing Classes:
CornellDataFormatter, LemingCologneDataFormatter, LemingStandardDataFormatter

public interface IDataFormatter

Interface for data formatters.

Author:
Kevin Dorff

Method Summary
 void close()
          Close the data formatter.
 void convertLine(Map<String,String> data)
          Convert a line of data from one format to another.
 

Method Detail

convertLine

void convertLine(Map<String,String> data)
                 throws IOException
Convert a line of data from one format to another.

Parameters:
data - the data to convert from, in a map[columnName, dataValue]
Throws:
IOException - error converting the data

close

void close()
Close the data formatter.


BDVal API 20110316173314

Copyright © 2007-2011 Institute for Computational Biomedicine, All Rights Reserved.