mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 11:04:34 +02:00
8002079: update DocFile to use a JavaFileManager
Reviewed-by: darcy
This commit is contained in:
parent
2aefbba070
commit
6ef527a3e7
10 changed files with 1106 additions and 202 deletions
|
@ -27,6 +27,7 @@ package com.sun.tools.javadoc;
|
|||
|
||||
import java.io.IOException;
|
||||
import java.util.Locale;
|
||||
import javax.tools.JavaFileManager;
|
||||
import javax.tools.JavaFileObject;
|
||||
import javax.tools.StandardJavaFileManager;
|
||||
|
||||
|
@ -368,4 +369,11 @@ public class RootDocImpl extends DocImpl implements RootDoc {
|
|||
public Locale getLocale() {
|
||||
return env.doclocale.locale;
|
||||
}
|
||||
|
||||
/**
|
||||
* Return the current file manager.
|
||||
*/
|
||||
public JavaFileManager getFileManager() {
|
||||
return env.fileManager;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue