Writer that escapes non US-ASCII characters into
Java Unicode escape \\uXXXX.
This process is necessary if the method names or field names
contain non US-ASCII characters.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected boolean | |
| public final void | |
| public final void | write(char[] buf, int off, int len)
Overrides java. Writes a portion of an array of characters. |
| public final void | |
| public final void | write(String buf, int off, int len)
Overrides java. Writes a portion of a string. |
| public final void |
| UnicodeEscapeWriter | back to summary |
|---|---|
| public UnicodeEscapeWriter(Writer next) | |
| requireEscaping | back to summary |
|---|---|
| protected boolean requireEscaping(int ch) Can be overrided. Return true if the character needs to be escaped. | |
| write | back to summary |
|---|---|
| public final void write(int ch) throws IOException Overrides java. Doc from java. Writes a single character.
| |
| write | back to summary |
|---|---|
| public final void write(char[] buf, int off, int len) throws IOException Overrides java. Doc from java. Writes a portion of an array of characters.
| |
| write | back to summary |
|---|---|
| public final void write(char[] buf) throws IOException Overrides java. Doc from java. Writes an array of characters.
| |
| write | back to summary |
|---|---|
| public final void write(String buf, int off, int len) throws IOException Overrides java. Doc from java. Writes a portion of a string.
| |
| write | back to summary |
|---|---|
| public final void write(String buf) throws IOException Overrides java. Doc from java. Writes a string.
| |