org.apache.jetspeed.services.ldap
Class LDAPURL

java.lang.Object
  extended byorg.apache.jetspeed.services.ldap.LDAPURL

public class LDAPURL
extends java.lang.Object

Version:
$Id: LDAPURL.java,v 1.6 2004/02/23 03:28:31 jford Exp $
Author:
Ender KILICOGLU

Constructor Summary
LDAPURL()
           
LDAPURL(java.lang.String url)
           
LDAPURL(java.lang.String host, int port, java.lang.String dn)
           
 
Method Summary
static java.lang.String encode(java.lang.String toEncode)
           
 java.lang.String getBase()
           
 java.lang.String getDN()
           
 java.lang.String getEncodedUrl()
           
 java.lang.String getHost()
           
 int getPort()
           
 java.lang.String getUrl()
           
 boolean sameHosts(LDAPURL url)
           
 void setDN(java.lang.String dn)
           
 void setHost(java.lang.String host)
           
 void setPort(int port)
           
 java.lang.String toString()
           
static java.lang.String toUrl(java.lang.String host, int port, java.lang.String dn, boolean ssl)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LDAPURL

public LDAPURL()

LDAPURL

public LDAPURL(java.lang.String url)
        throws java.net.MalformedURLException

LDAPURL

public LDAPURL(java.lang.String host,
               int port,
               java.lang.String dn)
Method Detail

encode

public static java.lang.String encode(java.lang.String toEncode)

getBase

public java.lang.String getBase()

getDN

public java.lang.String getDN()

getEncodedUrl

public java.lang.String getEncodedUrl()

getHost

public java.lang.String getHost()

getPort

public int getPort()

getUrl

public java.lang.String getUrl()

sameHosts

public boolean sameHosts(LDAPURL url)

setDN

public void setDN(java.lang.String dn)

setHost

public void setHost(java.lang.String host)

setPort

public void setPort(int port)

toUrl

public static java.lang.String toUrl(java.lang.String host,
                                     int port,
                                     java.lang.String dn,
                                     boolean ssl)

toString

public java.lang.String toString()


Copyright © 2000-2005 Apache Software Foundation. All Rights Reserved.