public final class WifiResultParser extends ResultParser
Parses a WIFI configuration string. Strings will be of the form:
WIFI:T:[network type];S:[network SSID];P:[network password];H:[hidden?];;
For WPA2 enterprise (EAP), strings will be of the form:
WIFI:T:WPA2-EAP;S:[network SSID];H:[hidden?];E:[EAP method];H:[Phase 2 method];A:[anonymous identity];I:[username];P:[password];;
"EAP method" can e.g. be "TTLS" or "PWD" or one of the other fields in WifiEnterpriseConfig.Eap and "Phase 2 method" can e.g. be "MSCHAPV2" or any of the other fields in WifiEnterpriseConfig.Phase2
The fields can appear in any order. Only "S:" is required.
| Constructor and Description | 
|---|
| WifiResultParser() | 
| Modifier and Type | Method and Description | 
|---|---|
| WifiParsedResult | parse(Result result)Attempts to parse the raw  Result's contents as a particular type
 of information (email, URL, etc.) and return aParsedResultencapsulating
 the result of parsing. | 
getMassagedText, isStringOfDigits, isSubstringOfDigits, maybeAppend, maybeAppend, maybeWrap, parseHexDigit, parseResult, unescapeBackslashpublic WifiParsedResult parse(Result result)
ResultParserResult's contents as a particular type
 of information (email, URL, etc.) and return a ParsedResult encapsulating
 the result of parsing.parse in class ResultParserresult - the raw Result to parseParsedResult encapsulating the parsing resultCopyright © 2007–2018. All rights reserved.