makeAlphanumeric

Returns a segment representing the specified text string encoded in alphanumeric mode. The characters allowed are: 0 to 9, A to Z (uppercase only), space, dollar, percent, asterisk, plus, hyphen, period, slash, colon.

Return

a segment (not null) containing the text

Parameters

text

the text (not null), with only certain characters allowed

Throws

if the string is null

if the string contains non-encodable characters