Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.service.argdelegation
Interface UriHandler

All Known Implementing Classes:
UriHandlerJabberImpl, UriHandlerRssImpl, UriHandlerSipImpl

public interface UriHandler

This interface is meant to be implemented by all bundles that wish to handle URIs passed as invocation arguments.

Author:
Emil Ivov

Field Summary
static String PROTOCOL_PROPERTY
          The name of the property that we use in the service registration properties to store a protocol name when registering UriHandlers
 
Method Summary
 String getProtocol()
          Returns the protocol that this handler is responsible for.
 void handleUri(String uri)
          Handles/opens the URI.
 

Field Detail

PROTOCOL_PROPERTY

static final String PROTOCOL_PROPERTY
The name of the property that we use in the service registration properties to store a protocol name when registering UriHandlers

See Also:
Constant Field Values
Method Detail

getProtocol

String getProtocol()
Returns the protocol that this handler is responsible for.

Returns:
protocol that this handler is responsible for

handleUri

void handleUri(String uri)
Handles/opens the URI.

Parameters:
uri - the URI that the handler has to open.

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.