Package ubic.gemma.cli.batch
Class TsvBatchTaskSummaryWriter
- java.lang.Object
-
- ubic.gemma.cli.batch.TsvBatchTaskSummaryWriter
-
- All Implemented Interfaces:
Closeable,AutoCloseable,BatchTaskSummaryWriter
public class TsvBatchTaskSummaryWriter extends Object implements BatchTaskSummaryWriter
- Author:
- poirigui
-
-
Constructor Summary
Constructors Constructor Description TsvBatchTaskSummaryWriter(Appendable dest)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()Close the writer and write any remaining results.voidwrite(BatchTaskProcessingResult result)Write the result of a batch task.
-
-
-
Constructor Detail
-
TsvBatchTaskSummaryWriter
public TsvBatchTaskSummaryWriter(Appendable dest) throws IOException
- Throws:
IOException
-
-
Method Detail
-
write
public void write(BatchTaskProcessingResult result) throws IOException
Description copied from interface:BatchTaskSummaryWriterWrite the result of a batch task.The actual writing may be deferred until the writer is closed in
BatchTaskSummaryWriter.close().- Specified by:
writein interfaceBatchTaskSummaryWriter- Throws:
IOException
-
close
public void close() throws IOExceptionDescription copied from interface:BatchTaskSummaryWriterClose the writer and write any remaining results.- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceBatchTaskSummaryWriter- Specified by:
closein interfaceCloseable- Throws:
IOException
-
-