|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.java.sip.communicator.impl.protocol.rss.UriHandlerRssImpl
public class UriHandlerRssImpl
The RSS implementation of the URI handler. This class handles RSS feeds by adding them to your contact list.
| Field Summary |
|---|
| Fields inherited from interface net.java.sip.communicator.service.argdelegation.UriHandler |
|---|
PROTOCOL_PROPERTY |
| Constructor Summary | |
|---|---|
protected |
UriHandlerRssImpl()
Creates an instance of this uri handler, so that it would start handling URIs by passing them to the RSS providers. |
| Method Summary | |
|---|---|
String |
getProtocol()
Returns the protocol that this handler is responsible for. |
ProtocolProviderService |
getRssProvider()
Returns the default provider that we are supposed to add feeds to. |
void |
handleUri(String uri)
Parses the specified URI and creates a call with the currently active telephony operation set. |
void |
registerHandlerService()
Registers this UriHandler with the bundle context so that it could start handling URIs |
void |
serviceChanged(org.osgi.framework.ServiceEvent event)
The point of implementing a service listener here is so that we would only register our own uri handling service and thus only handle URIs while the factory is available as an OSGi service. |
void |
unregisterHandlerService()
Unregisters this UriHandler from the bundle context. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected UriHandlerRssImpl()
throws NullPointerException
NullPointerException| Method Detail |
|---|
public void registerHandlerService()
public void unregisterHandlerService()
public String getProtocol()
getProtocol in interface UriHandlerpublic void handleUri(String uri)
handleUri in interface UriHandleruri - the feed: URI that we have to call.public void serviceChanged(org.osgi.framework.ServiceEvent event)
serviceChanged in interface org.osgi.framework.ServiceListenerevent - the OSGi ServiceEvent
public ProtocolProviderService getRssProvider()
throws OperationFailedException
OperationFailedException
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||