to top
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.