Package org.owasp.esapi.codecs
Class AbstractCharacterCodec
- java.lang.Object
-
- org.owasp.esapi.codecs.AbstractCodec<java.lang.Character>
-
- org.owasp.esapi.codecs.AbstractCharacterCodec
-
- All Implemented Interfaces:
Codec<java.lang.Character>
- Direct Known Subclasses:
CSSCodec
,DB2Codec
,JavaScriptCodec
,LegacyHTMLEntityCodec
,MySQLCodec
,OracleCodec
,PercentCodec
,UnixCodec
,VBScriptCodec
,WindowsCodec
,XMLEntityCodec
public abstract class AbstractCharacterCodec extends AbstractCodec<java.lang.Character>
This abstract Impl is broken off from the originalCodec
class and provides theCharacter
parsing logic that has been with ESAPI from the beginning.
-
-
Constructor Summary
Constructors Constructor Description AbstractCharacterCodec()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
decode(java.lang.String input)
Decode a String that was encoded using the encode method in this Class-
Methods inherited from class org.owasp.esapi.codecs.AbstractCodec
containsCharacter, decodeCharacter, encode, encodeCharacter, encodeCharacter, encodeCharacter, getHexForNonAlphanumeric, getHexForNonAlphanumeric, toHex, toHex, toOctal
-
-
-
-
Method Detail
-
decode
public java.lang.String decode(java.lang.String input)
Description copied from interface:Codec
Decode a String that was encoded using the encode method in this Class- Parameters:
input
- the String to decode- Returns:
- the decoded String
-
-