Package io.deephaven.enterprise.binlog
Class CharsetEncoder
java.lang.Object
io.deephaven.enterprise.binlog.CharsetEncoder
- All Implemented Interfaces:
StringEncodingStrategy
An encoding strategy that uses a
CharsetEncoder.-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface io.deephaven.enterprise.binlog.StringEncodingStrategy
StringEncodingStrategy.Visitor<T> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe action for malformed-input errors.The action for unmappable-character errors.final <T> Twalk(StringEncodingStrategy.Visitor<T> visitor)
-
Constructor Details
-
CharsetEncoder
public CharsetEncoder()
-
-
Method Details
-
onMalformedInput
The action for malformed-input errors. By default isCharsetEncoder.ErrorAction.REPLACE. Corresponds toCharsetEncoder.malformedInputAction().- Returns:
- the action for malformed-input errors
-
onUnmappableCharacter
The action for unmappable-character errors. By default isCharsetEncoder.ErrorAction.REPLACE. Corresponds toCharsetEncoder.unmappableCharacterAction().- Returns:
- the action for unmappable-character errors
-
walk
- Specified by:
walkin interfaceStringEncodingStrategy
-