| Modifier and Type | Field and Description |
|---|---|
| public static final String | |
| private CachingDateFormatter | |
| public static final String | CONVERTER_KEY
The conversion word/character with which this converter is registered. |
| private String | |
| public static final String | |
| private boolean | |
| private ZoneId |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | convert(Date date)
Implements abstract ch. |
| public String | convert(Instant instant)
Implements abstract ch. |
| public String | convert(Object o)
Implements abstract ch. |
| public String | |
| public ZoneId | |
| public boolean | |
| public boolean | |
| public void | start()
Overrides ch. Implements ch. |
| public String |
| AUXILIARY_TOKEN | back to summary |
|---|---|
| public static final String AUXILIARY_TOKEN | |
| cdf | back to summary |
|---|---|
| private CachingDateFormatter cdf | |
| CONVERTER_KEY | back to summary |
|---|---|
| public static final String CONVERTER_KEY The conversion word/character with which this converter is registered. | |
| datePattern | back to summary |
|---|---|
| private String datePattern | |
| DEFAULT_DATE_PATTERN | back to summary |
|---|---|
| public static final String DEFAULT_DATE_PATTERN | |
| primary | back to summary |
|---|---|
| private boolean primary | |
| zoneId | back to summary |
|---|---|
| private ZoneId zoneId | |
| DateTokenConverter | back to summary |
|---|---|
| public DateTokenConverter() | |
| convert | back to summary |
|---|---|
| public String convert(Date date) Implements abstract ch. Doc from ch. The convert method is responsible for extracting data from the event and storing it for later use by the write method. | |
| convert | back to summary |
|---|---|
| public String convert(Instant instant) Implements abstract ch. Doc from ch. The convert method is responsible for extracting data from the event and storing it for later use by the write method. | |
| convert | back to summary |
|---|---|
| public String convert(Object o) Implements abstract ch. Doc from ch. The convert method is responsible for extracting data from the event and storing it for later use by the write method. | |
| getDatePattern | back to summary |
|---|---|
| public String getDatePattern() Return the date pattern. | |
| getZoneId | back to summary |
|---|---|
| public ZoneId getZoneId() | |
| isApplicable | back to summary |
|---|---|
| public boolean isApplicable(Object o) Implements ch. | |
| isPrimary | back to summary |
|---|---|
| public boolean isPrimary() | |
| start | back to summary |
|---|---|
| public void start() Overrides ch. Implements ch. Doc from ch. Components that depend on options passed during configuration can override this method in order to make appropriate use of those options. For simpler components, the trivial implementation found in this abstract class will be sufficient. | |
| toRegex | back to summary |
|---|---|
| public String toRegex() | |