class CompileUtil
extends java.lang.Object
Constructor and Description |
---|
CompileUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
printDiagnostics(java.io.PrintWriter out,
java.util.List<javax.tools.Diagnostic<? extends javax.tools.JavaFileObject>> diagnostics)
Prints the compiler diagnostics to the writer.
|
(package private) static java.net.URI |
toURI(java.lang.String pathString)
Converts the path string to a URI for use by the file manager of the compiler.
|
static java.net.URI toURI(java.lang.String pathString)
pathString
- the path to a file as a stringURI
for the pathpublic static void printDiagnostics(java.io.PrintWriter out, java.util.List<javax.tools.Diagnostic<? extends javax.tools.JavaFileObject>> diagnostics)
out
- the print writerdiagnostics
- the compiler diagnostics