public final class ExpandedProductResultParser extends ResultParser
EMPTY_STR_ARRAY
Constructor and Description |
---|
ExpandedProductResultParser() |
Modifier and Type | Method and Description |
---|---|
private static java.lang.String |
findAIvalue(int i,
java.lang.String rawText) |
private static java.lang.String |
findValue(int i,
java.lang.String rawText) |
ExpandedProductParsedResult |
parse(Result result)
Attempts to parse the raw
Result 's contents as a particular type
of information (email, URL, etc.) and return a ParsedResult encapsulating
the result of parsing. |
getMassagedText, isStringOfDigits, isSubstringOfDigits, matchPrefixedField, matchSinglePrefixedField, maybeAppend, maybeAppend, maybeWrap, parseHexDigit, parseNameValuePairs, parseResult, unescapeBackslash, urlDecode
public ExpandedProductParsedResult parse(Result result)
ResultParser
Result
's contents as a particular type
of information (email, URL, etc.) and return a ParsedResult
encapsulating
the result of parsing.parse
in class ResultParser
result
- the raw Result
to parseParsedResult
encapsulating the parsing resultprivate static java.lang.String findAIvalue(int i, java.lang.String rawText)
private static java.lang.String findValue(int i, java.lang.String rawText)