|
All LDAP Classes Internal LDAP Classes |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ietf.ldap.LDAPUrl
public class LDAPUrl
Encapsulates parameters of an LDAP URL query as defined in RFC2255.
Field Summary | |
---|---|
private LDAPUrl |
url
|
Constructor Summary | |
---|---|
LDAPUrl(LDAPUrl novellURL)
This constructor is used by clone and sets wrapped novell URL |
|
LDAPUrl(java.lang.String url)
Constructs a URL object with the specified string as the URL. |
|
LDAPUrl(java.lang.String host,
int port,
java.lang.String dn)
Constructs a URL object with the specified host, port, and DN. |
|
LDAPUrl(java.lang.String host,
int port,
java.lang.String dn,
java.lang.String[] attrNames,
int scope,
java.lang.String filter,
java.lang.String[] extensions)
Constructs an LDAP URL with all fields explicitly assigned, to specify an LDAP search operation. |
Method Summary | |
---|---|
java.lang.Object |
clone()
Returns a clone of this URL object. |
static java.lang.String |
decode(java.lang.String URLEncoded)
Decodes a URL-encoded string. |
static java.lang.String |
encode(java.lang.String toEncode)
Encodes an arbitrary string using the URL encoding rules. |
java.lang.String[] |
getAttributeArray()
Returns an array of attribute names specified in the URL. |
java.util.Enumeration |
getAttributes()
Returns an enumerator for the attribute names specified in the URL. |
java.lang.String |
getDN()
Returns the distinguished name encapsulated in the URL. |
java.lang.String[] |
getExtensions()
Returns any LDAP URL extensions specified, or null if none are specified. |
java.lang.String |
getFilter()
Returns the search filter or the default filter (objectclass=*) if none was specified. |
java.lang.String |
getHost()
Returns the name of the LDAP server in the URL. |
int |
getPort()
Returns the port number of the LDAP server in the URL. |
int |
getScope()
Returns the depth of search. |
(package private) LDAPUrl |
getWrappedObject()
Returns the com.novell.ldap.LDAPUrl object |
java.lang.String |
toString()
Returns a valid string representation of this LDAP URL. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private LDAPUrl url
Constructor Detail |
---|
public LDAPUrl(java.lang.String url) throws java.net.MalformedURLException
java.net.MalformedURLException
public LDAPUrl(java.lang.String host, int port, java.lang.String dn)
public LDAPUrl(java.lang.String host, int port, java.lang.String dn, java.lang.String[] attrNames, int scope, java.lang.String filter, java.lang.String[] extensions)
LDAPUrl(LDAPUrl novellURL)
Method Detail |
---|
public java.lang.Object clone()
clone
in class java.lang.Object
LDAPUrl getWrappedObject()
public static java.lang.String decode(java.lang.String URLEncoded) throws java.net.MalformedURLException
java.net.MalformedURLException
public static java.lang.String encode(java.lang.String toEncode)
public java.lang.String[] getAttributeArray()
public java.util.Enumeration getAttributes()
public java.lang.String getDN()
public java.lang.String[] getExtensions()
public java.lang.String getFilter()
public java.lang.String getHost()
public int getPort()
public int getScope()
public java.lang.String toString()
toString
in class java.lang.Object
|
All LDAP Classes Internal LDAP Classes |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |