Package com.ongres.scram.common.util
Class UsAsciiUtils
- java.lang.Object
-
- com.ongres.scram.common.util.UsAsciiUtils
-
public class UsAsciiUtils extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description UsAsciiUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
toPrintable(java.lang.String value)
Removes non-printable characters from the US-ASCII String.
-
-
-
Method Detail
-
toPrintable
public static java.lang.String toPrintable(java.lang.String value) throws java.lang.IllegalArgumentException
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:
java.lang.IllegalArgumentException
- If the String is null or contains non US-ASCII characters.
-
-