public static class StrictUtf8.Parser extends Object
Constructor and Description |
---|
Parser() |
Modifier and Type | Method and Description |
---|---|
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,
CharBuffer in)
Parses a UCS-4 character from the given source buffer, handling surrogates.
|
public CoderResult error()
public int parse(char c, 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-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.