owltools.gaf.io
Class GafWriter

java.lang.Object
  extended by owltools.gaf.io.AbstractGafWriter
      extended by owltools.gaf.io.GafWriter

public class GafWriter
extends AbstractGafWriter

Write a Gene Annotation File to a given stream or file.


Nested Class Summary
static class GafWriter.BufferedGafWriter
          Helper class to create a list of all GeneAnnotation lines, excluding any headers.
Can be used for sorting.
 
Field Summary
protected  PrintStream stream
           
 
Constructor Summary
GafWriter()
           
 
Method Summary
protected  void end()
          Called after the writing of a GafDocument has been finished.
 PrintStream getStream()
           
protected  void print(String s)
          Append an arbitrary string.
 void setStream(File file)
           
 void setStream(PrintStream stream)
           
 void setStream(String file)
           
 
Methods inherited from class owltools.gaf.io.AbstractGafWriter
nl, sep, write, write, writeHeader, writeHeader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

stream

protected PrintStream stream
Constructor Detail

GafWriter

public GafWriter()
Method Detail

getStream

public PrintStream getStream()

setStream

public void setStream(PrintStream stream)

setStream

public void setStream(String file)

setStream

public void setStream(File file)

print

protected void print(String s)
Description copied from class: AbstractGafWriter
Append an arbitrary string.

Specified by:
print in class AbstractGafWriter

end

protected void end()
Description copied from class: AbstractGafWriter
Called after the writing of a GafDocument has been finished.

Specified by:
end in class AbstractGafWriter


Copyright © 2010-2014. All Rights Reserved.