org.owasp.esapi.codecs
public class PushbackString extends java.lang.Object
Encoder| Constructor and Description |
|---|
PushbackString(java.lang.String input) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
int |
index()
Get the current index of the PushbackString.
|
static boolean |
isHexDigit(java.lang.Character c)
Returns true if the parameter character is a hexidecimal digit 0 through 9, a through f, or A through F.
|
static boolean |
isOctalDigit(java.lang.Character c)
Returns true if the parameter character is an octal digit 0 through 7.
|
void |
mark() |
java.lang.Character |
next() |
java.lang.Character |
nextHex() |
java.lang.Character |
nextOctal() |
java.lang.Character |
peek()
Return the next character without affecting the current index.
|
boolean |
peek(char c)
Test to see if the next character is a particular value without affecting the current index.
|
void |
pushback(java.lang.Character c) |
protected java.lang.String |
remainder() |
void |
reset() |
public void pushback(java.lang.Character c)
c - public int index()
public boolean hasNext()
public java.lang.Character next()
public java.lang.Character nextHex()
public java.lang.Character nextOctal()
public static boolean isHexDigit(java.lang.Character c)
c - public static boolean isOctalDigit(java.lang.Character c)
c - public java.lang.Character peek()
public boolean peek(char c)
c - public void mark()
public void reset()
protected java.lang.String remainder()
Copyright © 2014 The Open Web Application Security Project (OWASP). All Rights Reserved.