com.kirgor.enklib.compile
Class MemoryJavaFileManager
java.lang.Object
javax.tools.ForwardingJavaFileManager
com.kirgor.enklib.compile.MemoryJavaFileManager
- All Implemented Interfaces:
- Closeable, Flushable, JavaFileManager, OptionChecker
public class MemoryJavaFileManager
- extends ForwardingJavaFileManager
Manages the final stage of compiler pipeline and directs results into memory object.
| Methods inherited from class javax.tools.ForwardingJavaFileManager |
close, flush, getFileForInput, getFileForOutput, getJavaFileForInput, handleOption, hasLocation, inferBinaryName, isSameFile, isSupportedOption, list |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MemoryJavaFileManager
public MemoryJavaFileManager(StandardJavaFileManager standardManager)
- Creates instance of
MemoryJavaFileManager.
- Parameters:
standardManager - Standard manager, which will be used as base manager.
getClassLoader
public ClassLoader getClassLoader(JavaFileManager.Location location)
-
- Specified by:
getClassLoader in interface JavaFileManager- Overrides:
getClassLoader in class ForwardingJavaFileManager
getJavaFileForOutput
public JavaFileObject getJavaFileForOutput(JavaFileManager.Location location,
String className,
JavaFileObject.Kind kind,
FileObject sibling)
throws IOException
-
- Specified by:
getJavaFileForOutput in interface JavaFileManager- Overrides:
getJavaFileForOutput in class ForwardingJavaFileManager
- Throws:
IOException
Copyright © 2013. All Rights Reserved.