Package oracle.i18n.text
Class UTF8ValidationFilter.ValidationBehavior
- java.lang.Object
-
- oracle.i18n.text.UTF8ValidationFilter.ValidationBehavior
-
- Enclosing class:
- UTF8ValidationFilter
public abstract static class UTF8ValidationFilter.ValidationBehavior extends Object
TheValidationBehaviorclass is the class used to determine the behavior in case the conversion fails.
-
-
Field Summary
Fields Modifier and Type Field Description static UTF8ValidationFilter.ValidationBehaviorREPLACEThe parameter indicating the UTF-8 validator replaces the invalid UTF-8 with the replacement character U+FFFD, or 0xef, 0xbf, 0xbd in UTF-8 encoding.static UTF8ValidationFilter.ValidationBehaviorREPORTThe parameter indicating the UTF-8 validator reports the error if any invalid UTF-8 sequences are found.
-
-
-
Field Detail
-
REPORT
public static final UTF8ValidationFilter.ValidationBehavior REPORT
The parameter indicating the UTF-8 validator reports the error if any invalid UTF-8 sequences are found.The error is
UTFDataFormatException.
-
REPLACE
public static final UTF8ValidationFilter.ValidationBehavior REPLACE
The parameter indicating the UTF-8 validator replaces the invalid UTF-8 with the replacement character U+FFFD, or 0xef, 0xbf, 0xbd in UTF-8 encoding.
-
-