public class UnicodeUnpairedSurrogateRemover extends CodePointTranslator
| Constructor and Description |
|---|
UnicodeUnpairedSurrogateRemover() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
translate(int codePoint,
Writer writer)
Implementation of translate that throws out unpaired surrogates.
|
translatehex, translate, translate, withpublic UnicodeUnpairedSurrogateRemover()
public boolean translate(int codePoint, Writer writer) throws IOException
translate in class CodePointTranslatorcodePoint - int character input to translatewriter - Writer to optionally push the translated output toIOException - if and only if the Writer produces an IOExceptionCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.