org.owasp.webscarab.plugin.fuzz
Class RegexSource

java.lang.Object
  extended by org.owasp.webscarab.util.RegexExpansion
      extended by org.owasp.webscarab.plugin.fuzz.RegexSource
All Implemented Interfaces:
FuzzSource

public class RegexSource
extends RegexExpansion
implements FuzzSource

Author:
rdawes

Constructor Summary
protected RegexSource(RegexSource rs)
           
  RegexSource(java.lang.String description, java.lang.String regex)
          Creates a new instance of RegexSource
 
Method Summary
 java.lang.Object current()
           
 java.lang.String getDescription()
           
 void increment()
           
 FuzzSource newInstance()
           
 void reset()
           
 
Methods inherited from class org.owasp.webscarab.util.RegexExpansion
get, getIndex, getRegex, hasNext, main, next, setIndex, size
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.owasp.webscarab.plugin.fuzz.FuzzSource
hasNext, size
 

Constructor Detail

RegexSource

public RegexSource(java.lang.String description,
                   java.lang.String regex)
            throws java.util.regex.PatternSyntaxException
Creates a new instance of RegexSource

Throws:
java.util.regex.PatternSyntaxException

RegexSource

protected RegexSource(RegexSource rs)
Method Detail

current

public java.lang.Object current()
Specified by:
current in interface FuzzSource

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in interface FuzzSource

increment

public void increment()
Specified by:
increment in interface FuzzSource

newInstance

public FuzzSource newInstance()
Specified by:
newInstance in interface FuzzSource

reset

public void reset()
Specified by:
reset in interface FuzzSource