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 void
close()
Close the writer and write any remaining results.void
write(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:BatchTaskSummaryWriter
Write the result of a batch task.The actual writing may be deferred until the writer is closed in
BatchTaskSummaryWriter.close()
.- Specified by:
write
in interfaceBatchTaskSummaryWriter
- Throws:
IOException
-
close
public void close() throws IOException
Description copied from interface:BatchTaskSummaryWriter
Close the writer and write any remaining results.- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceBatchTaskSummaryWriter
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-
-