Package com.helger.base.io.iface
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 Details
-
getWriter
@Nullable Writer 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
-