public class Native2AsciiUtils
extends java.lang.Object
Constructor and Description |
---|
Native2AsciiUtils() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
ascii2native(java.lang.String line)
Replaces Unicode-Escapes.
|
static java.lang.String |
native2ascii(java.lang.String line)
Replaces non-ASCII characters with their Unicode-Escapes.
|
public static java.lang.String native2ascii(java.lang.String line)
Expects to be called once per line if applied to a file.
line
- the input linepublic static java.lang.String ascii2native(java.lang.String line)
Expects to be called once per line if applied to a file.
line
- the input line