Example usage for Java javax.annotation.processing Filer fields, constructors, methods, implement or subclass
The text is from its open source code.
FileObject | createResource(JavaFileManager.Location location, CharSequence moduleAndPkg, CharSequence relativeName, Element... originatingElements) Creates a new auxiliary resource file for writing and returns a file object for it. |
JavaFileObject | createSourceFile(CharSequence name, Element... originatingElements) Creates a new source file and returns an object to allow writing to it. |
FileObject | getResource(JavaFileManager.Location location, CharSequence moduleAndPkg, CharSequence relativeName) Returns an object for reading an existing resource. |