isAlphanumeric

Tests whether the specified string can be encoded as a segment in alphanumeric mode. A string is encodable iff each character is in the following set: 0 to 9, A to Z (uppercase only), space, dollar, percent, asterisk, plus, hyphen, period, slash, colon.

Return

true iff each character is in the alphanumeric mode character set

Parameters

text

the string to test for encodability (not null)

See also

.makeAlphanumeric

Throws

if the string is null