WriterAbstractFileBasedWriter, JdbcWriter, LogcatWriterpublic abstract class AbstractWriter extends Object implements Writer
| Constructor | Description |
|---|---|
AbstractWriter(Map<String,String> properties) |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
getBooleanValue(String key) |
Gets the boolean value for the passed key from the configuration properties.
|
String |
getStringValue(String key) |
Gets the trimmed value for the passed key from the configuration properties.
|
String |
getStringValue(String key,
boolean trimmed) |
Gets the string value for the passed key from the configuration properties.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, flush, getRequiredLogEntryValues, writepublic String getStringValue(String key)
Leading and trailing spaces of the found value will be removed.
key - Case-sensitive property keynullpublic String getStringValue(String key, boolean trimmed)
Leading and trailing spaces of the found value will be removed.
key - Case-sensitive property keytrimmed - true for trimming the found value, otherwise falsenullpublic boolean getBooleanValue(String key)
Under the hood, Boolean.parseBoolean(String) is used with the trimmed string value.
key - Case-sensitive property keyCopyright © 2026. All rights reserved.