Package org.springframework.aot.nativex
Class FileNativeConfigurationWriter
java.lang.Object
org.springframework.aot.nativex.NativeConfigurationWriter
org.springframework.aot.nativex.FileNativeConfigurationWriter
A
NativeConfigurationWriter
implementation that writes the
configuration to disk.- Since:
- 6.0
- Author:
- Sebastien Deleuze, Stephane Nicoll
- See Also:
-
Constructor Summary
ConstructorDescriptionFileNativeConfigurationWriter
(Path basePath) FileNativeConfigurationWriter
(Path basePath, String groupId, String artifactId) -
Method Summary
Methods inherited from class org.springframework.aot.nativex.NativeConfigurationWriter
write
-
Constructor Details
-
FileNativeConfigurationWriter
-
FileNativeConfigurationWriter
-
-
Method Details
-
writeTo
protected void writeTo(String fileName, Consumer<org.springframework.aot.nativex.BasicJsonWriter> writer) Description copied from class:NativeConfigurationWriter
Write the specified GraalVM native configuration file, using the providedBasicJsonWriter
.- Specified by:
writeTo
in classNativeConfigurationWriter
- Parameters:
fileName
- the name of the filewriter
- a consumer for the writer to use
-