Lines Matching refs:stringWriter
50 import java.io.StringWriter;
280 private StringWriter saveToXml(TaskRecord task) throws IOException, XmlPullParserException {
283 StringWriter stringWriter = new StringWriter();
284 xmlSerializer.setOutput(stringWriter);
299 return stringWriter;
565 StringWriter stringWriter = null;
573 stringWriter = saveToXml(task);
579 if (stringWriter != null) {
587 file.write(stringWriter.toString().getBytes());