public class UnicodeUnpairedSurrogateRemover extends CodePointTranslator
Constructor and Description |
---|
UnicodeUnpairedSurrogateRemover() |
Modifier and Type | Method and Description |
---|---|
boolean |
translate(int codepoint,
Writer out)
Implementation of translate that throws out unpaired surrogates.
|
translate
hex, translate, translate, with
public UnicodeUnpairedSurrogateRemover()
public boolean translate(int codepoint, Writer out) throws IOException
translate
in class CodePointTranslator
codepoint
- int character input to translateout
- Writer to optionally push the translated output toIOException
- if and only if the Writer produces an IOExceptionCopyright © 2001–2016 The Apache Software Foundation. All rights reserved.