Package com.google.zxing.client.result
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 boolean
isColonFollowedByPortNumber
(String uri, int protocolEnd) boolean
Deprecated.private static String
massageURI
(String uri) Transforms a string that represents a URI into something more proper, by adding or canonicalizing the protocol.Methods inherited from class com.google.zxing.client.result.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:
getDisplayResult
in classParsedResult
-
massageURI
Transforms a string that represents a URI into something more proper, by adding or canonicalizing the protocol. -
isColonFollowedByPortNumber
-
URIResultParser.isPossiblyMaliciousURI(String)