C# 클래스 zxingwp7.client.result.ResultParser

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 #parseResult(com.google.zxing.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.

파일 보기 프로젝트 열기: henningms/zxing2.0-wp7

공개 메소드들

메소드 설명
parseResult ( System.Result theResult ) : ParsedResult

보호된 메소드들

메소드 설명
isStringOfDigits ( String value_Renamed, int length ) : bool
isSubstringOfDigits ( String value_Renamed, int offset, int length ) : bool
maybeAppend ( String value_Renamed, StringBuilder result ) : void
maybeWrap ( String value_Renamed ) : String[]
unescapeBackslash ( String escaped ) : String

비공개 메소드들

메소드 설명
appendKeyValue ( String uri, int paramStart, int paramEnd, Object>.Dictionary result ) : void
findFirstEscape ( char escapedArray ) : int
matchPrefixedField ( String prefix, String rawText, char endChar, bool trim ) : String[]
matchSinglePrefixedField ( String prefix, String rawText, char endChar, bool trim ) : String
parseHexDigit ( char c ) : int
parseNameValuePairs ( String uri ) : Object>.Dictionary
toStringArray ( List strings ) : String[]
urlDecode ( String escaped ) : String

메소드 상세

isStringOfDigits() 보호된 정적인 메소드

protected static isStringOfDigits ( String value_Renamed, int length ) : bool
value_Renamed String
length int
리턴 bool

isSubstringOfDigits() 보호된 정적인 메소드

protected static isSubstringOfDigits ( String value_Renamed, int offset, int length ) : bool
value_Renamed String
offset int
length int
리턴 bool

maybeAppend() 보호된 정적인 메소드

protected static maybeAppend ( String value_Renamed, StringBuilder result ) : void
value_Renamed String
result StringBuilder
리턴 void

maybeWrap() 보호된 정적인 메소드

protected static maybeWrap ( String value_Renamed ) : String[]
value_Renamed String
리턴 String[]

parseResult() 공개 정적인 메소드

public static parseResult ( System.Result theResult ) : ParsedResult
theResult System.Result
리턴 ParsedResult

unescapeBackslash() 보호된 정적인 메소드

protected static unescapeBackslash ( String escaped ) : String
escaped String
리턴 String