public class CifReplacingEncoderFallbackBuffer
extends com.aspose.ms.System.Text.EncoderFallbackBuffer
The replacing encoder fallback buffer that actually does the replacement work
Constructor and Description |
---|
CifReplacingEncoderFallbackBuffer() |
Modifier and Type | Method and Description |
---|---|
boolean |
fallback(char charUnknownHigh,
char charUnknownLow,
int index)
Called when a surrogate pair of characters out of output codepage is encountered
|
boolean |
fallback(char charUnknown,
int index)
Called when a single-char character out of output codepage is encountered
|
char |
getNextChar()
Gets next replacement char
|
int |
getRemaining()
Count of remaining characters in replacement buffer
|
boolean |
movePrevious()
Rewinds position in the replacement buffer by one
|
public int getRemaining()
Count of remaining characters in replacement buffer
getRemaining
in class com.aspose.ms.System.Text.EncoderFallbackBuffer
public boolean fallback(char charUnknown, int index)
Called when a single-char character out of output codepage is encountered
fallback
in class com.aspose.ms.System.Text.EncoderFallbackBuffer
charUnknown
- Out of codepage characterindex
- Index of character in the input stringpublic boolean fallback(char charUnknownHigh, char charUnknownLow, int index)
Called when a surrogate pair of characters out of output codepage is encountered
fallback
in class com.aspose.ms.System.Text.EncoderFallbackBuffer
charUnknownHigh
- Out of codepage character - high surrogatecharUnknownLow
- Out of codepage character - low surrogateindex
- Index of character in the input stringpublic char getNextChar()
Gets next replacement char
getNextChar
in class com.aspose.ms.System.Text.EncoderFallbackBuffer
public boolean movePrevious()
Rewinds position in the replacement buffer by one
movePrevious
in class com.aspose.ms.System.Text.EncoderFallbackBuffer