Package com.ongres.scram.common.util
Class UsAsciiUtils
java.lang.Object
com.ongres.scram.common.util.UsAsciiUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
toPrintable
(String value) Removes non-printable characters from the US-ASCII String.
-
Constructor Details
-
UsAsciiUtils
public UsAsciiUtils()
-
-
Method Details
-
toPrintable
Removes non-printable characters from the US-ASCII String.- Parameters:
value
- The original String- Returns:
- The possibly modified String, without non-printable US-ASCII characters.
- Throws:
IllegalArgumentException
- If the String is null or contains non US-ASCII characters.
-