Class JavaSourceCodeWriter
java.lang.Object
io.spring.initializr.generator.language.java.JavaSourceCodeWriter
- All Implemented Interfaces:
SourceCodeWriter<JavaSourceCode>
A
SourceCodeWriter that writes SourceCode in Java.- Author:
- Andy Wilkinson, Matt Berteaux
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidwriteTo(SourceStructure structure, JavaSourceCode sourceCode) Write, to the givenstructure, the givensourceCode.
-
Constructor Details
-
JavaSourceCodeWriter
-
-
Method Details
-
writeTo
Description copied from interface:SourceCodeWriterWrite, to the givenstructure, the givensourceCode.- Specified by:
writeToin interfaceSourceCodeWriter<JavaSourceCode>- Parameters:
structure- theSourceStructurebeneath which the source code is writtensourceCode- the source code to write- Throws:
IOException- if writing fails
-