1 19 20 package org.netbeans.modules.java.source.engine; 21 22 import java.io.IOException ; 23 import javax.swing.text.BadLocationException ; 24 25 32 public interface SourceRewriter { 33 34 39 void writeTo(String s) throws IOException , BadLocationException ; 40 41 51 void skipThrough(SourceReader in, int offset) throws IOException , BadLocationException ; 52 53 63 void copyTo(SourceReader in, int offset) throws IOException ; 64 65 70 void copyRest(SourceReader in) throws IOException ; 71 72 77 void close(boolean save) throws IOException ; 78 } 79 | Popular Tags |