public class GafWriter extends AbstractGafWriter implements Closeable
Modifier and Type | Class and Description |
---|---|
static class |
GafWriter.BufferedGafWriter
Helper class to create a list of all
GeneAnnotation lines,
excluding any headers.Can be used for sorting. |
Modifier and Type | Field and Description |
---|---|
protected PrintStream |
stream |
Constructor and Description |
---|
GafWriter() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
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) |
nl, sep, write, write, writeHeader, writeHeader
protected PrintStream stream
public PrintStream getStream()
public void setStream(PrintStream stream)
public void setStream(String file)
public void setStream(File file)
protected void print(String s)
AbstractGafWriter
print
in class AbstractGafWriter
protected void end()
AbstractGafWriter
GafDocument
has been finished.end
in class AbstractGafWriter
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
Copyright © 2010-2014. All Rights Reserved.