Package com.helger.commons.io
Interface IHasWriter
- All Known Implementing Classes:
StringWriterProvider
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A callback interface to retrieve
Writer objects.- Author:
- Philip Helger
-
Method Summary
Modifier and TypeMethodDescriptiondefault WriterGet a buffered writer to write to an object.Get the writer to write to an object.
-
Method Details
-
getWriter
Get the writer to write to an object. Each time this method is call, a newWriterneeds to be created!- Returns:
nullif resolving failed.
-
getBufferedWriter
Get a buffered writer to write to an object. Each time this method is call, a newWriterneeds to be created!- Returns:
nullif resolving failed.- Since:
- 9.1.8
-