public final class InternetServiceFilter extends ServiceFilter
InternetServiceFilter represents a service type for a
particular kind of internet client. A ServiceList resulting
from this filter will include only services providing access to the
specified type of internet client.| Modifier and Type | Field and Description |
|---|---|
static int |
EMAIL_CLIENT
Constant identifying an email client service
|
static int |
NEWS_CLIENT
Constant identifying a usenet news client service
|
static int |
WWW_CLIENT
Constant identifying a WWW client service
|
| Constructor and Description |
|---|
InternetServiceFilter(int service_type)
Constructs the filter based on a particular type of
internet client service.
|
public static final int EMAIL_CLIENT
public static final int WWW_CLIENT
public static final int NEWS_CLIENT
public InternetServiceFilter(int service_type)
ServiceList when instances of this class constructed
using that type are used.service_type - the type of service requiredpublic boolean accept(Service service)
accept in class ServiceFilterservice - A Service to be evaluated against the filtering algorithm.Copyright © 2012 code4tv.com. All Rights Reserved.