| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private boolean | Returns: true if the given char is the character representation of one of the digits from 0 to 7.the char to check. ch)Tests if the given char is an octal digit. |
| private boolean | Returns: true if the given char is the character representation of one of the digits from 0 to 3.the char to check. ch)Tests if the given char is the character representation of one of the digit from 0 to 3. |
| public int | translate(final CharSequence input, final int index, final Writer writer)
Implements abstract org. Translate a set of code points, represented by an int index into a CharSequence, into another set of code points. |
| OctalUnescaper | back to summary |
|---|---|
| public OctalUnescaper() Creates a new instance. | |
| isOctalDigit | back to summary |
|---|---|
| private boolean isOctalDigit(final char ch) Tests if the given char is an octal digit. Octal digits are the character representations of the digits 0 to 7.
| |
| isZeroToThree | back to summary |
|---|---|
| private boolean isZeroToThree(final char ch) Tests if the given char is the character representation of one of the digit from 0 to 3.
| |
| translate | back to summary |
|---|---|
| public int translate(final CharSequence input, final int index, final Writer writer) throws IOException Implements abstract org. Doc from org. Translate a set of code points, represented by an int index into a CharSequence, into another set of code points. The number of code points consumed must be returned, and the only IOExceptions thrown must be from interacting with the Writer so that the top level API may reliably ignore StringWriter IOExceptions.
| |