Searched refs:FileKind (Results 1 - 2 of 2) sorted by relevance

/openjdk7/langtools/src/share/classes/com/sun/tools/apt/mirror/apt/
H A DFilerImpl.java85 private enum FileKind { enum in class:FilerImpl
208 PrintWriter pw = getPrintWriter(file, encoding, name, FileKind.SOURCE);
219 OutputStream os = getOutputStream(file, name, FileKind.CLASS);
236 return getPrintWriter(loc, file.getPath(), charsetName, null, FileKind.OTHER);
248 return getOutputStream(loc, file.getPath(), null, FileKind.OTHER);
273 String encoding, String name, FileKind kind) throws IOException {
282 String encoding, String name, FileKind kind) throws IOException {
297 private OutputStream getOutputStream(Location loc, String pathname, String name, FileKind kind)
303 private OutputStream getOutputStream(File file, String name, FileKind kind) throws IOException {
328 private void prepareFile(File file, String name, FileKind kin
[all...]
/openjdk7/langtools/test/tools/javac/api/
H A DT6838467.java42 enum FileKind { enum in class:T6838467
46 FileKind(String path) { method in class:T6838467.FileKind
93 for (FileKind fk: FileKind.values()) {
113 void test(FileKind fk, CompareKind ck) throws IOException {
173 // create a file manager to test a FileKind, with a given directory
175 JavaFileManager createFileManager(FileKind fk, File classpath) throws IOException {
176 StandardJavaFileManager fm = createFileManager(fk == FileKind.ZIP);

Completed in 31 milliseconds