gov.usda.gdpc
Class Export

java.lang.Object
  extended bygov.usda.gdpc.Export

public class Export
extends java.lang.Object

Author:
terryc

Method Summary
static void writeLociTabDelimited(GenotypeTable table, java.io.Writer writer)
          Writes the given genotype table to the writer as tab delimited data with taxa as row headers and loci as column headers.
static void writeTabDelimited(DBElementGroup group, java.io.Writer writer)
          Writes the given dbelement group to writer as tab delimited data.
static void writeTabDelimited(Table table, java.io.Writer writer)
          Writes the given table to writer as tab delimited data.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

writeTabDelimited

public static void writeTabDelimited(DBElementGroup group,
                                     java.io.Writer writer)
                              throws java.io.IOException
Writes the given dbelement group to writer as tab delimited data.

Parameters:
group - group to export
writer - destination of write
Throws:
java.io.IOException

writeTabDelimited

public static void writeTabDelimited(Table table,
                                     java.io.Writer writer)
                              throws java.io.IOException
Writes the given table to writer as tab delimited data.

Parameters:
table - table to export
writer - destination of write
Throws:
java.io.IOException

writeLociTabDelimited

public static void writeLociTabDelimited(GenotypeTable table,
                                         java.io.Writer writer)
                                  throws java.io.IOException
Writes the given genotype table to the writer as tab delimited data with taxa as row headers and loci as column headers.

Parameters:
table - table to export
writer - destination of write
Throws:
java.io.IOException