
com.algorithmia.development.ResponseHandler Maven / Gradle / Ivy
package com.algorithmia.development;
import java.io.*;
final class ResponseHandler {
private String FIFOPATH = "/tmp/algoout";
private FileOutputStream stream;
private PrintStream output;
void preparePipe(){
if(output == null) {
try {
stream = new FileOutputStream(this.FIFOPATH, true);
output = new PrintStream(stream, true);
} catch (FileNotFoundException e) {
throw new RuntimeException(e);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy