public static class StrictUtf8.Parser
extends java.lang.Object
| Constructor and Description |
|---|
Parser() |
| Modifier and Type | Method and Description |
|---|---|
java.nio.charset.CoderResult |
error()
If the previous parse operation detected an error, return the object describing that error.
|
int |
parse(char c,
char[] ia,
int ip,
int il)
Parses a UCS-4 character from the given source buffer, handling surrogates.
|
int |
parse(char c,
java.nio.CharBuffer in)
Parses a UCS-4 character from the given source buffer, handling surrogates.
|
public java.nio.charset.CoderResult error()
public int parse(char c,
java.nio.CharBuffer in)
c - The first characterin - The source buffer, from which one more character will be consumed if c is a high surrogatepublic int parse(char c,
char[] ia,
int ip,
int il)
c - The first characteria - The input array, from which one more character will be consumed if c is a high surrogateip - The input indexil - The input limitCopyright © 2012–2025 Oracle Corporation. All rights reserved.