1 7 8 package com.sun.mirror.apt; 9 10 11 import java.io.*; 12 13 14 41 42 public interface Filer { 43 44 62 PrintWriter createSourceFile(String name) throws IOException; 63 64 73 OutputStream createClassFile(String name) throws IOException; 74 75 98 PrintWriter createTextFile(Location loc, 99 String pkg, 100 File relPath, 101 String charsetName) throws IOException; 102 103 119 OutputStream createBinaryFile(Location loc, 120 String pkg, 121 File relPath) throws IOException; 122 123 124 127 enum Location { 128 129 SOURCE_TREE, 130 131 CLASS_TREE 132 } 133 } 134 | Popular Tags |