URIParsedResult (ZXing 3.5.2 API)
Description: declaration: package: com.google.zxing.client.result, class: URIParsedResult

Package com.google.zxing.client.result

# Class URIParsedResult

java.lang.Object
com.google.zxing.client.result.ParsedResult
com.google.zxing.client.result.URIParsedResult

public final class URIParsedResult extends ParsedResult
A simple result type encapsulating a URI that has no further interpretation.

Author:
  Sean Owen

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `URIParsedResult(String uri, String title)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `getDisplayResult()`
  `String`
  `getTitle()`
  `String`
  `getURI()`
  `boolean`
  `isPossiblyMaliciousURI()`
  Deprecated.
  see `URIResultParser.isPossiblyMaliciousURI(String)`

  ### Methods inherited from class com.google.zxing.client.result.ParsedResult

  `getType, maybeAppend, maybeAppend, toString`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### URIParsedResult

    public URIParsedResult(String uri, String title)

- ## Method Details

  - ### getURI

    public String getURI()

  - ### getTitle

    public String getTitle()

  - ### isPossiblyMaliciousURI

    @Deprecated public boolean isPossiblyMaliciousURI()
    Deprecated.
    see `URIResultParser.isPossiblyMaliciousURI(String)`
    Returns:
      true if the URI contains suspicious patterns that may suggest it intends to mislead the user about its true nature

  - ### getDisplayResult

    public String getDisplayResult()
    Specified by:
      `getDisplayResult` in class `ParsedResult`