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