aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/java/sip/communicator/impl/protocol/icq/OperationSetWebAccountRegistrationIcqImpl.java
blob: 356a3191dbd8e7b3f246d365841faf099a26f3fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/*
 * SIP Communicator, the OpenSource Java VoIP and Instant Messaging client.
 *
 * Distributable under LGPL license.
 * See terms of license at gnu.org.
 */
package net.java.sip.communicator.impl.protocol.icq;

import java.net.*;

import net.java.sip.communicator.service.protocol.*;

/**
 * Returns the url which can be used to register new account fo the Icq server
 *
 * @author Damian Minkov
 */
public class OperationSetWebAccountRegistrationIcqImpl
    implements OperationSetWebAccountRegistration
{
    /**
     * Returns a URL that points to a page which allows for on-line
     * registration of accounts belonging to the service supported by this
     * protocol provider.
     *
     * @return a URL pointing to a web page where one could register their
     *   account for the current protocol.
     */
    public URL getAccountRegistrationURL()
    {
        try
        {
            return new URL("http://www.icq.com/register/");
        }
        catch (MalformedURLException ex)
        {
            return null;
        }
    }
}