public class Parser extends Object
Constructor and Description |
---|
Parser(Pattern pattern,
ElementType... elementTypes)
Creates a Parser with a given regular expression pattern and ElementTypes.
|
Modifier and Type | Method and Description |
---|---|
void |
parse(CharSequence in,
Appendable out)
Parses all the CharSequence.
|
void |
setHttpRequest(DriverRequest httpRequest) |
public Parser(Pattern pattern, ElementType... elementTypes)
pattern
- The regular expression PatternelementTypes
- The element typespublic void parse(CharSequence in, Appendable out) throws IOException, HttpErrorPage
in
- The CharSequence to parseout
- The Writable to write the result toIOException
HttpErrorPage
public void setHttpRequest(DriverRequest httpRequest)
Copyright © 2008–2018. All rights reserved.