Top Description Constructors Methods
org.apache.commons.lang3.text.translate

public Class UnicodeUnpairedSurrogateRemover

extends CodePointTranslator
Class Inheritance
Annotations
@Deprecated
Imports
java.io.IOException, .Writer

Deprecated

As of 3.6, use Apache Commons Text UnicodeUnpairedSurrogateRemover.

Helper subclass to CharSequenceTranslator to remove unpaired surrogates.

Constructor Summary

AccessConstructor and Description
public
UnicodeUnpairedSurrogateRemover()

Constructs a new instance.

Method Summary

Modifier and TypeMethod and Description
public boolean
translate(final int codePoint, final Writer out)

Implements abstract org.apache.commons.lang3.text.translate.CodePointTranslator.translate.

Implements translate that throws out unpaired surrogates.

Inherited from org.apache.commons.lang3.text.translate.CodePointTranslator:
translate

Constructor Detail

UnicodeUnpairedSurrogateRemoverback to summary
public UnicodeUnpairedSurrogateRemover()

Constructs a new instance.

Method Detail

translateback to summary
public boolean translate(final int codePoint, final Writer out) throws IOException

Implements abstract org.apache.commons.lang3.text.translate.CodePointTranslator.translate.

Doc from org.apache.commons.lang3.text.translate.CodePointTranslator.translate.

Implements translate that throws out unpaired surrogates. Translate the specified code point into another.

Annotations
@Override
Exceptions
IOException:
if and only if the Writer produces an IOException.