public class VBScriptCodec extends Codec
Encoder
Constructor and Description |
---|
VBScriptCodec() |
Modifier and Type | Method and Description |
---|---|
Character |
decodeCharacter(PushbackString input)
Returns the decoded version of the character starting at index, or
null if no decoding is possible.
|
String |
encode(char[] immune,
String input)
Encode a String so that it can be safely used in a specific context.
|
String |
encodeCharacter(char[] immune,
Character c)
Returns quote-encoded character
|
containsCharacter, decode, getHexForNonAlphanumeric, toHex, toOctal
public String encode(char[] immune, String input)
public String encodeCharacter(char[] immune, Character c)
encodeCharacter
in class Codec
immune
- c
- the Character to encodepublic Character decodeCharacter(PushbackString input)
decodeCharacter
in class Codec
input
- the Character to decodeCopyright © 2014 The Open Web Application Security Project (OWASP). All rights reserved.