owltools.gaf.io
Class GafWriter.BufferedGafWriter

java.lang.Object
  extended by owltools.gaf.io.AbstractGafWriter
      extended by owltools.gaf.io.GafWriter.BufferedGafWriter
Enclosing class:
GafWriter

public static class GafWriter.BufferedGafWriter
extends AbstractGafWriter

Helper class to create a list of all GeneAnnotation lines, excluding any headers.
Can be used for sorting.


Constructor Summary
GafWriter.BufferedGafWriter()
           
 
Method Summary
protected  void end()
          Called after the writing of a GafDocument has been finished.
 List<String> getLines()
           
protected  void nl()
          Append the separator between rows.
protected  void print(String s)
          Append an arbitrary string.
 void writeHeader(List<String> comments)
          Write a header for a GAF, header comments are optional.
 
Methods inherited from class owltools.gaf.io.AbstractGafWriter
sep, write, write, writeHeader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GafWriter.BufferedGafWriter

public GafWriter.BufferedGafWriter()
Method Detail

writeHeader

public void writeHeader(List<String> comments)
Description copied from class: AbstractGafWriter
Write a header for a GAF, header comments are optional.

Overrides:
writeHeader in class AbstractGafWriter

print

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

Specified by:
print in class AbstractGafWriter

nl

protected void nl()
Description copied from class: AbstractGafWriter
Append the separator between rows.

Overrides:
nl 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

getLines

public List<String> getLines()


Copyright © 2010-2014. All Rights Reserved.