|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectowltools.gaf.io.AbstractGafWriter
public abstract class AbstractGafWriter
General utility to write a GafDocument
or GeneAnnotation
.
Constructor Summary | |
---|---|
AbstractGafWriter()
|
Method Summary | |
---|---|
protected abstract void |
end()
Called after the writing of a GafDocument has been finished. |
protected void |
nl()
Append the separator between rows. |
protected abstract void |
print(String s)
Append an arbitrary string. |
protected void |
sep()
Append a the separator between columns. |
void |
write(GafDocument gdoc)
Write a full GAF. |
void |
write(GeneAnnotation ann)
Write a single GeneAnnotation . |
void |
writeHeader(GafDocument gdoc)
Write a header of a GAF, use the comments from the GafDocument . |
void |
writeHeader(List<String> comments)
Write a header for a GAF, header comments are optional. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractGafWriter()
Method Detail |
---|
public void write(GafDocument gdoc)
gdoc
- public void writeHeader(GafDocument gdoc)
GafDocument
.
gdoc
- public void writeHeader(List<String> comments)
comments
- public void write(GeneAnnotation ann)
GeneAnnotation
.
ann
- protected abstract void print(String s)
s
- protected abstract void end()
GafDocument
has been finished.
protected void sep()
protected void nl()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |