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
|
|
@ -95,6 +95,10 @@ public class VCFWriterStorage implements Storage<VCFWriterStorage>, VCFWriter {
|
||||||
writer.close();
|
writer.close();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void flush() {
|
||||||
|
writer.flush();
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Merges the stream backing up this temporary storage into the target.
|
* Merges the stream backing up this temporary storage into the target.
|
||||||
* @param target Target stream for the temporary storage. May not be null.
|
* @param target Target stream for the temporary storage. May not be null.
|
||||||
|
|
|
||||||
|
|
@ -184,6 +184,10 @@ public class VCFWriterStub implements Stub<VCFWriter>, VCFWriter {
|
||||||
outputTracker.getStorage(this).close();
|
outputTracker.getStorage(this).close();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void flush() {
|
||||||
|
outputTracker.getStorage(this).flush();
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets a string representation of this object.
|
* Gets a string representation of this object.
|
||||||
* @return
|
* @return
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue