static class ValidationTool.JarOrDirectoryOutputFileManager
extends javax.tools.ForwardingJavaFileManager<javax.tools.JavaFileManager>
Constructor and Description |
---|
JarOrDirectoryOutputFileManager(java.io.File output,
javax.tools.JavaFileManager fileManager) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
javax.tools.FileObject |
getFileForOutput(javax.tools.JavaFileManager.Location location,
java.lang.String packageName,
java.lang.String relativeName,
javax.tools.FileObject sibling)
Not expected to be called.
|
javax.tools.JavaFileObject |
getJavaFileForOutput(javax.tools.JavaFileManager.Location location,
java.lang.String className,
javax.tools.JavaFileObject.Kind kind,
javax.tools.FileObject sibling)
This method will receive generated source and class files.
|
boolean |
isSameFile(javax.tools.FileObject a,
javax.tools.FileObject b) |
JarOrDirectoryOutputFileManager(java.io.File output, javax.tools.JavaFileManager fileManager)
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in interface javax.tools.JavaFileManager
close
in class javax.tools.ForwardingJavaFileManager<javax.tools.JavaFileManager>
java.io.IOException
public javax.tools.FileObject getFileForOutput(javax.tools.JavaFileManager.Location location, java.lang.String packageName, java.lang.String relativeName, javax.tools.FileObject sibling) throws java.io.IOException
getFileForOutput
in interface javax.tools.JavaFileManager
getFileForOutput
in class javax.tools.ForwardingJavaFileManager<javax.tools.JavaFileManager>
java.io.IOException
public javax.tools.JavaFileObject getJavaFileForOutput(javax.tools.JavaFileManager.Location location, java.lang.String className, javax.tools.JavaFileObject.Kind kind, javax.tools.FileObject sibling) throws java.io.IOException
getJavaFileForOutput
in interface javax.tools.JavaFileManager
getJavaFileForOutput
in class javax.tools.ForwardingJavaFileManager<javax.tools.JavaFileManager>
java.io.IOException
public boolean isSameFile(javax.tools.FileObject a, javax.tools.FileObject b)
isSameFile
in interface javax.tools.JavaFileManager
isSameFile
in class javax.tools.ForwardingJavaFileManager<javax.tools.JavaFileManager>