21import java.io.BufferedReader;
22import java.io.IOException;
23import java.io.InputStream;
24import java.io.InputStreamReader;
26import denoptim.constants.DENOPTIMConstants;
44 this.sb =
new StringBuilder();
61 InputStreamReader isr =
new InputStreamReader(
is);
62 BufferedReader br =
new BufferedReader(isr);
64 while ((line = br.readLine()) !=
null)
65 sb.append(
type).append(
"> ").append(line).append(
70 catch (IOException ioe)
General set of constants used in DENOPTIM.
static final String EOL
new line character
See http://www.javaworld.com/jw-12-2000/jw-1229-traps.html?page=4.
StreamGobbler(InputStream is, String type)