if (params != null && !params.isEmpty()) {
StringBuffer sb = new StringBuffer();
for (String line = job.readLine(); line != null; line = job.readLine()) {
sb.append(line).append("\r\n");
}
TextLayout tl = new TextLayout("{","}");
tl.setPattern(sb.toString());
StringWriter sw = new StringWriter();
tl.bind(sw, params);
return new BufferedReader(new StringReader(sw.toString()));
}
return job;
}