Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Android APIs
public static final class

IntentFilter.AuthorityEntry

extends Object
java.lang.Object
   ↳ android.content.IntentFilter.AuthorityEntry

Class Overview

This is an entry for a single authority in the Iterator returned by authoritiesIterator() .

Summary

Public Constructors
IntentFilter.AuthorityEntry ( String host, String port)
Public Methods
String getHost ()
int getPort ()
int match ( Uri data)
Determine whether this AuthorityEntry matches the given data Uri.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public IntentFilter.AuthorityEntry ( String host, String port)

Added in API level 1

Public Methods

public String getHost ()

Added in API level 1

public int getPort ()

Added in API level 1

public int match ( Uri data)

Added in API level 1

Determine whether this AuthorityEntry matches the given data Uri. Note that this comparison is case-sensitive, unlike formal RFC host names. You thus should always normalize to lower-case.

Parameters
data The Uri to match.