aicas logo Jamaica 3.4 release 8

com.sun.jndi.ldap
Class LdapURL

java.lang.Object
  extended by com.sun.jndi.toolkit.url.Uri
      extended by com.sun.jndi.ldap.LdapURL

public final class LdapURL
extends Uri


Field Summary
 
Fields inherited from class com.sun.jndi.toolkit.url.Uri
hasAuthority, host, path, port, query, scheme, uri
 
Constructor Summary
LdapURL(String url)
          Creates an LdapURL object from an LDAP URL string.
 
Method Summary
static String[] fromList(String urlList)
          Given a space-separated list of LDAP URLs, returns an array of strings.
 String getAttributes()
          Returns the LDAP URL's attributes.
 String getDN()
          Returns the LDAP URL's distinguished name.
 String getExtensions()
          Returns the LDAP URL's extensions.
 String getFilter()
          Returns the LDAP URL's filter.
 String getScope()
          Returns the LDAP URL's scope.
static boolean hasQueryComponents(String url)
          Derermines whether an LDAP URL has query components.
 boolean useSsl()
          Returns true if the URL is an LDAPS URL.
 
Methods inherited from class com.sun.jndi.toolkit.url.Uri
getHost, getPath, getPort, getQuery, getScheme, init, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LdapURL

public LdapURL(String url)
        throws NamingException
Creates an LdapURL object from an LDAP URL string.

Throws:
NamingException
Method Detail

useSsl

public boolean useSsl()
Returns true if the URL is an LDAPS URL.


getDN

public String getDN()
Returns the LDAP URL's distinguished name.


getAttributes

public String getAttributes()
Returns the LDAP URL's attributes.


getScope

public String getScope()
Returns the LDAP URL's scope.


getFilter

public String getFilter()
Returns the LDAP URL's filter.


getExtensions

public String getExtensions()
Returns the LDAP URL's extensions.


fromList

public static String[] fromList(String urlList)
                         throws NamingException
Given a space-separated list of LDAP URLs, returns an array of strings.

Throws:
NamingException

hasQueryComponents

public static boolean hasQueryComponents(String url)
Derermines whether an LDAP URL has query components.


aicas logo Jamaica 3.4 release 8

aicas GmbH, Karlsruhe - Germany    www.aicas.com
Copyright 2001-2009 aicas GmbH. All Rights Reserved.