Lines Matching defs:rewriter
45 * {@link #rewriteActive(Rewriter, long)}.
83 public interface Rewriter extends Reader, Writer {
181 public void rewriteActive(Rewriter rewriter, long currentTimeMillis)
184 rewriteSingle(rewriter, activeName);
190 rewriteActive(new Rewriter() {
217 public void rewriteAll(Rewriter rewriter) throws IOException {
223 rewriteSingle(rewriter, name);
232 private void rewriteSingle(Rewriter rewriter, String name) throws IOException {
238 rewriter.reset();
242 readFile(file, rewriter);
244 // skip when rewriter has nothing to write
245 if (!rewriter.shouldWrite()) return;
252 writeFile(file, rewriter);
269 writeFile(file, rewriter);