protected class ClientCodeWrapper.WrappedJavaFileManager extends Object implements JavaFileManager
JavaFileManager.Location
Modifier and Type | Field and Description |
---|---|
protected JavaFileManager |
clientJavaFileManager |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
contains, getLocationForModule, getLocationForModule, getServiceLoader, inferModuleName, listLocationsForModules
protected JavaFileManager clientJavaFileManager
public ClassLoader getClassLoader(JavaFileManager.Location location)
getClassLoader
in interface JavaFileManager
public Iterable<JavaFileObject> list(JavaFileManager.Location location, String packageName, Set<JavaFileObject.Kind> kinds, boolean recurse) throws IOException
list
in interface JavaFileManager
IOException
public String inferBinaryName(JavaFileManager.Location location, JavaFileObject file)
inferBinaryName
in interface JavaFileManager
public boolean isSameFile(FileObject a, FileObject b)
isSameFile
in interface JavaFileManager
public boolean handleOption(String current, Iterator<String> remaining)
handleOption
in interface JavaFileManager
public boolean hasLocation(JavaFileManager.Location location)
hasLocation
in interface JavaFileManager
public JavaFileObject getJavaFileForInput(JavaFileManager.Location location, String className, JavaFileObject.Kind kind) throws IOException
getJavaFileForInput
in interface JavaFileManager
IOException
public JavaFileObject getJavaFileForOutput(JavaFileManager.Location location, String className, JavaFileObject.Kind kind, FileObject sibling) throws IOException
getJavaFileForOutput
in interface JavaFileManager
IOException
public FileObject getFileForInput(JavaFileManager.Location location, String packageName, String relativeName) throws IOException
getFileForInput
in interface JavaFileManager
IOException
public FileObject getFileForOutput(JavaFileManager.Location location, String packageName, String relativeName, FileObject sibling) throws IOException
getFileForOutput
in interface JavaFileManager
IOException
public void flush() throws IOException
flush
in interface Flushable
flush
in interface JavaFileManager
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in interface JavaFileManager
IOException
public int isSupportedOption(String option)
isSupportedOption
in interface OptionChecker
Copyright © 2017 earcam. All rights reserved.