public static class UnicodeEncode.Options extends Object
UnicodeEncode
Modifier and Type | Method and Description |
---|---|
UnicodeEncode.Options |
errors(String errors) |
UnicodeEncode.Options |
replacementChar(Long replacementChar) |
public UnicodeEncode.Options errors(String errors)
errors
- Error handling policy when there is invalid formatting found in the input.
The value of 'strict' will cause the operation to produce a InvalidArgument
error on any invalid input formatting. A value of 'replace' (the default) will
cause the operation to replace any invalid formatting in the input with the
`replacement_char` codepoint. A value of 'ignore' will cause the operation to
skip any invalid formatting in the input and produce no corresponding output
character.public UnicodeEncode.Options replacementChar(Long replacementChar)
replacementChar
- The replacement character codepoint to be used in place of any invalid
formatting in the input when `errors='replace'`. Any valid unicode codepoint may
be used. The default value is the default unicode replacement character is
0xFFFD (U+65533).Copyright © 2022. All rights reserved.