public class UsAsciiUtils
extends java.lang.Object
Constructor and Description |
---|
UsAsciiUtils() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
toPrintable(java.lang.String value)
Removes non-printable characters from the US-ASCII String.
|
public static java.lang.String toPrintable(java.lang.String value) throws java.lang.IllegalArgumentException
value
- The original Stringjava.lang.IllegalArgumentException
- If the String is null or contains non US-ASCII characters.