Class URIParsedResult
java.lang.Object
com.google.zxing.client.result.ParsedResult
com.google.zxing.client.result.URIParsedResult
A simple result type encapsulating a URI that has no further interpretation.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetTitle()getURI()private static booleanisColonFollowedByPortNumber(String uri, int protocolEnd) booleanDeprecated.private static StringmassageURI(String uri) Transforms a string that represents a URI into something more proper, by adding or canonicalizing the protocol.Methods inherited from class ParsedResult
getType, maybeAppend, maybeAppend, toString
-
Field Details
-
uri
-
title
-
-
Constructor Details
-
URIParsedResult
-
-
Method Details
-
getURI
-
getTitle
-
isPossiblyMaliciousURI
Deprecated.- Returns:
- true if the URI contains suspicious patterns that may suggest it intends to mislead the user about its true nature
-
getDisplayResult
- Specified by:
getDisplayResultin classParsedResult
-
massageURI
-
isColonFollowedByPortNumber
-
URIResultParser.isPossiblyMaliciousURI(String)