com.google.zxing.client.result
Class WifiResultParser

java.lang.Object
  extended by com.google.zxing.client.result.ResultParser
      extended by com.google.zxing.client.result.WifiResultParser

public final class WifiResultParser
extends ResultParser

Parses a WIFI configuration string. Strings will be of the form: WIFI:T:WPA;S:mynetwork;P:mypass;; The fields can come in any order, and there should be tests to see if we can parse them all correctly.

Author:
Vikram Aggarwal

Constructor Summary
WifiResultParser()
           
 
Method Summary
 WifiParsedResult 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.
 
Methods inherited from class com.google.zxing.client.result.ResultParser
isStringOfDigits, isSubstringOfAlphaNumeric, isSubstringOfDigits, maybeAppend, maybeAppend, maybeWrap, parseHexDigit, parseResult, unescapeBackslash
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WifiResultParser

public WifiResultParser()
Method Detail

parse

public WifiParsedResult parse(Result result)
Description copied from class: ResultParser
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.

Specified by:
parse in class ResultParser