public class TempJavaFileManager extends Object implements JavaFileManager
JavaFileManager that provides its own temporary output storage.JavaFileManager.Location| Constructor and Description |
|---|
TempJavaFileManager() |
public int isSupportedOption(String option)
isSupportedOption in interface OptionCheckerpublic ClassLoader getClassLoader(JavaFileManager.Location location)
getClassLoader in interface JavaFileManagerpublic boolean isSameFile(FileObject a, FileObject b)
isSameFile in interface JavaFileManagerpublic Iterable<JavaFileObject> list(JavaFileManager.Location location, String packageName, Set<JavaFileObject.Kind> kinds, boolean recurse) throws IOException
list in interface JavaFileManagerIOExceptionpublic String inferBinaryName(JavaFileManager.Location location, JavaFileObject file)
inferBinaryName in interface JavaFileManagerpublic boolean handleOption(String current, Iterator<String> remaining)
handleOption in interface JavaFileManagerpublic boolean hasLocation(JavaFileManager.Location location)
hasLocation in interface JavaFileManagerpublic JavaFileObject getJavaFileForInput(JavaFileManager.Location location, String className, JavaFileObject.Kind kind) throws IOException
getJavaFileForInput in interface JavaFileManagerIOExceptionpublic JavaFileObject getJavaFileForOutput(JavaFileManager.Location location, String className, JavaFileObject.Kind kind, FileObject sibling) throws IOException
getJavaFileForOutput in interface JavaFileManagerIOExceptionpublic FileObject getFileForInput(JavaFileManager.Location location, String packageName, String relativeName) throws IOException
getFileForInput in interface JavaFileManagerIOExceptionpublic FileObject getFileForOutput(JavaFileManager.Location location, String packageName, String relativeName, FileObject sibling) throws IOException
getFileForOutput in interface JavaFileManagerIOExceptionpublic void flush()
throws IOException
flush in interface Flushableflush in interface JavaFileManagerIOExceptionpublic void close()
close in interface Closeableclose in interface AutoCloseableclose in interface JavaFileManagerCopyright © 2015 inferred.org. All rights reserved.