public interface InfoWriter
| Modifier and Type | Method and Description |
|---|---|
InfoTarget |
getTarget()
Returns the target set for the writer, that is where the writer writes information to.
|
IsErrorSetFT |
getWriteErrors()
Returns collected errors from the last invocation of write or other methods.
|
default boolean |
validateTarget()
Validates the writers target.
|
boolean |
write(Object content)
Writes information to a target and returns a specific object.
|
InfoTarget getTarget()
boolean write(Object content)
getWriteErrors() to retrieve them.content - the content to be writtenIllegalArgumentException - if the content was not of the right type, depending on the writer implementationIsErrorSetFT getWriteErrors()
default boolean validateTarget()
Copyright © 2010–2017. All rights reserved.