Added flush() method to VCFWriters
git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@4533 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
parent
00726b6c4b
commit
e8079399ac
|
|
@ -93,7 +93,11 @@ public class VCFWriterStorage implements Storage<VCFWriterStorage>, VCFWriter {
|
|||
*/
|
||||
public void close() {
|
||||
writer.close();
|
||||
}
|
||||
}
|
||||
|
||||
public void flush() {
|
||||
writer.flush();
|
||||
}
|
||||
|
||||
/**
|
||||
* Merges the stream backing up this temporary storage into the target.
|
||||
|
|
|
|||
|
|
@ -184,6 +184,10 @@ public class VCFWriterStub implements Stub<VCFWriter>, VCFWriter {
|
|||
outputTracker.getStorage(this).close();
|
||||
}
|
||||
|
||||
public void flush() {
|
||||
outputTracker.getStorage(this).flush();
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets a string representation of this object.
|
||||
* @return
|
||||
|
|
|
|||
Loading…
Reference in New Issue