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:
fromer 2010-10-20 20:23:22 +00:00
parent 00726b6c4b
commit e8079399ac
2 changed files with 9 additions and 1 deletions

View File

@ -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.

View File

@ -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