Skip navigation links

Oracle® Database Globalization Development Kit Java API Reference
11g Release 1 (11.1)

Book Part Number B28299-01


oracle.i18n.text
Class UTF8ValidationFilter.ValidationBehavior

java.lang.Object
  extended by oracle.i18n.text.UTF8ValidationFilter.ValidationBehavior

Enclosing class:
UTF8ValidationFilter

public abstract static class UTF8ValidationFilter.ValidationBehavior
extends Object

The ValidationBehavior class is the class used to determine the behavior in case the conversion fails.


Field Summary
static 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.
static UTF8ValidationFilter.ValidationBehavior REPORT
          The parameter indicating the UTF-8 validator reports the error if any invalid UTF-8 sequences are found.

 

Method Summary

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

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.

Skip navigation links

Oracle® Database Globalization Development Kit Java API Reference
11g Release 1 (11.1)

Book Part Number B28299-01


Copyright © 2003, 2007, Oracle. All rights reserved.