public class AbstractIntegerCodec extends AbstractCodec<Integer>
int
as opposed to Character
. Because non-BMP code
points cannot be represented by a char
, this class remedies that by parsing string
data as codePoints as opposed to a stream of char
s.
WARNING: This class will silently discard an invalid code point according to
the result of Character.isValidCodePoint( int )
method.Codec
class.Constructor and Description |
---|
AbstractIntegerCodec() |
Modifier and Type | Method and Description |
---|---|
String |
decode(String input)
Decode a String that was encoded using the encode method in this Class
|
containsCharacter, decodeCharacter, encode, encodeCharacter, encodeCharacter, encodeCharacter, getHexForNonAlphanumeric, getHexForNonAlphanumeric, toHex, toHex, toOctal
Copyright © 2023 The Open Worldwide Application Security Project (OWASP). All rights reserved.