Lines Matching refs:writer
196 StringWriter writer = new StringWriter(); in readFully() local
200 writer.write(buffer, 0, count); in readFully()
202 return writer.toString(); in readFully()
431 Writer writer = new BufferedWriter(new FileWriter(journalFileTmp), IO_BUFFER_SIZE); in rebuildJournal() local
432 writer.write(MAGIC); in rebuildJournal()
433 writer.write("\n"); in rebuildJournal()
434 writer.write(VERSION_1); in rebuildJournal()
435 writer.write("\n"); in rebuildJournal()
436 writer.write(Integer.toString(appVersion)); in rebuildJournal()
437 writer.write("\n"); in rebuildJournal()
438 writer.write(Integer.toString(valueCount)); in rebuildJournal()
439 writer.write("\n"); in rebuildJournal()
440 writer.write("\n"); in rebuildJournal()
444 writer.write(DIRTY + ' ' + entry.key + '\n'); in rebuildJournal()
446 writer.write(CLEAN + ' ' + entry.key + entry.getLengths() + '\n'); in rebuildJournal()
450 writer.close(); in rebuildJournal()
827 Writer writer = null; in set() local
829 writer = new OutputStreamWriter(newOutputStream(index), UTF_8); in set()
830 writer.write(value); in set()
832 closeQuietly(writer); in set()