public class UsAsciiUtils extends Object
Constructor | Description |
---|---|
UsAsciiUtils() |
Modifier and Type | Method | Description |
---|---|---|
static String |
toPrintable(String value) |
Removes non-printable characters from the US-ASCII String.
|
public static String toPrintable(String value) throws IllegalArgumentException
value
- The original StringIllegalArgumentException
- If the String is null or contains non US-ASCII characters.Copyright © 2017–2018. All rights reserved.