src/share/classes/com/sun/tools/javac/nio/PathFileManager.java

changeset 1358
fc123bdeddb8
parent 581
f2fdd52e4e87
child 2525
2eb010b6cb22
equal deleted inserted replaced
1357:c75be5bc5283 1358:fc123bdeddb8
1 /* 1 /*
2 * Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 2009, 2012, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 * 4 *
5 * This code is free software; you can redistribute it and/or modify it 5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as 6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. Oracle designates this 7 * published by the Free Software Foundation. Oracle designates this
25 25
26 package com.sun.tools.javac.nio; 26 package com.sun.tools.javac.nio;
27 27
28 import java.io.IOException; 28 import java.io.IOException;
29 import java.nio.file.FileSystem; 29 import java.nio.file.FileSystem;
30 import java.nio.file.FileSystems;
30 import java.nio.file.Path; 31 import java.nio.file.Path;
31 import javax.tools.FileObject; 32 import javax.tools.FileObject;
32 import javax.tools.JavaFileManager; 33 import javax.tools.JavaFileManager;
33 import javax.tools.JavaFileObject; 34 import javax.tools.JavaFileObject;
34 35
35 /** 36 /**
36 * File manager based on {@linkplain File java.nio.file.Path}. 37 * File manager based on {@link java.nio.file.Path}.
37 * 38 *
38 * Eventually, this should be moved to javax.tools. 39 * Eventually, this should be moved to javax.tools.
39 * Also, JavaCompiler might reasonably provide a method getPathFileManager, 40 * Also, JavaCompiler might reasonably provide a method getPathFileManager,
40 * similar to {@link javax.tools.JavaCompiler#getStandardFileManager 41 * similar to {@link javax.tools.JavaCompiler#getStandardFileManager
41 * getStandardFileManager}. However, would need to be handled carefully 42 * getStandardFileManager}. However, would need to be handled carefully

mercurial