Class StaticFileManager
java.lang.Object
javax.tools.ForwardingJavaFileManager<StandardJavaFileManager>
io.quarkus.deployment.dev.filesystem.QuarkusFileManager
io.quarkus.deployment.dev.filesystem.StaticFileManager
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable,JavaFileManager,OptionChecker
This static file manager handle the class-paths and file locations of a single manager instance.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.quarkus.deployment.dev.filesystem.QuarkusFileManager
QuarkusFileManager.ContextNested classes/interfaces inherited from interface javax.tools.JavaFileManager
JavaFileManager.Location -
Field Summary
Fields inherited from class javax.tools.ForwardingJavaFileManager
fileManager -
Constructor Summary
ConstructorsConstructorDescriptionStaticFileManager(Supplier<StandardJavaFileManager> supplier, QuarkusFileManager.Context context) -
Method Summary
Modifier and TypeMethodDescriptiongetJavaFileForInput(JavaFileManager.Location location, String className, JavaFileObject.Kind kind) Iterable<? extends JavaFileObject>getJavaSources(Iterable<? extends File> files) Methods inherited from class io.quarkus.deployment.dev.filesystem.QuarkusFileManager
close, resetMethods inherited from class javax.tools.ForwardingJavaFileManager
contains, flush, getClassLoader, getFileForInput, getFileForOutput, getJavaFileForOutput, getLocationForModule, getLocationForModule, getServiceLoader, handleOption, hasLocation, inferBinaryName, inferModuleName, isSameFile, isSupportedOption, list, listLocationsForModules
-
Constructor Details
-
StaticFileManager
public StaticFileManager(Supplier<StandardJavaFileManager> supplier, QuarkusFileManager.Context context)
-
-
Method Details
-
getJavaSources
- Specified by:
getJavaSourcesin classQuarkusFileManager
-
getJavaFileForInput
public JavaFileObject getJavaFileForInput(JavaFileManager.Location location, String className, JavaFileObject.Kind kind) throws IOException - Specified by:
getJavaFileForInputin interfaceJavaFileManager- Overrides:
getJavaFileForInputin classForwardingJavaFileManager<StandardJavaFileManager>- Throws:
IOException
-