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)

Since: API Level 1

Public Methods

public String getHost ()

Since: API Level 1

public int getPort ()

Since: API Level 1

public int match (Uri data)

Since: 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.