Package org.wiremock.stringparser
Interface StringParser<T extends ParsedString>
public interface StringParser<T extends ParsedString>
A
StringParser produces instances of ParsedString. The contract is that ParsedString.toString() will return a String equal to the one passed to parse(String) to create it.
Serialization libraries can depend on this contract to serialize and deserialize subtypes of
ParsedString.
-
Method Summary
-
Method Details
-
getType
-
parse
- Throws:
ParseException
-