C# Class zxingwp7.client.result.ParsedResult

Abstract class representing the result of decoding a barcode, as more than a String -- as some type of structured data. This might be a subclass which represents a URL, or an e-mail address. {@link ResultParser#parseResult(Result)} will turn a raw decoded string into the most appropriate type of structured representation.

Thanks to Jeff Griffin for proposing rewrite of these classes that relies less on exception-based mechanisms during parsing.

Show file Open project: henningms/zxing2.0-wp7

Public Methods

Method Description
ToString ( ) : String
maybeAppend ( String value_Renamed, StringBuilder result ) : void

Protected Methods

Method Description
ParsedResult ( ParsedResultType type ) : System

Method Details

ParsedResult() protected method

protected ParsedResult ( ParsedResultType type ) : System
type ParsedResultType
return System

ToString() public method

public ToString ( ) : String
return String

maybeAppend() public static method

public static maybeAppend ( String value_Renamed, StringBuilder result ) : void
value_Renamed String
result StringBuilder
return void