Interface WritableContent
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Callback interface used to write file content. Designed to align with
JavaPoet's
JavaFile.writeTo
method.- Since:
- 6.0
- Author:
- Phillip Webb
-
Method Summary
Modifier and TypeMethodDescriptionvoid
writeTo
(Appendable out) Callback method that should write the content to the givenAppendable
.
-
Method Details
-
writeTo
Callback method that should write the content to the givenAppendable
.- Parameters:
out
- theAppendable
used to receive the content- Throws:
IOException
- on IO error
-