public class CallbackFactory extends Object
Constructor and Description |
---|
CallbackFactory() |
Modifier and Type | Method and Description |
---|---|
ICallback |
getStreamCallback(OutputStream outputStream,
char separator,
Charset charset)
Construct callback that will write the scoring outputs to
output stream
outputStream as a CSV line by line
using delimiter separator and charset charset . |
public ICallback getStreamCallback(OutputStream outputStream, char separator, Charset charset)
outputStream
as a CSV line by line
using delimiter separator
and charset charset
.outputStream
- Output Stream where to write output of the scoring.separator
- Delimiter to use for CSV construction.charset
- Charset to use when writing bytes of the CSV string.ICallback
interface.Copyright © 2019. All rights reserved.