Directory SDK
for Java 4.19

Class LDAPSearch

java.lang.Object
  extended byLDAPTool
      extended byLDAPSearch

public class LDAPSearch
extends LDAPTool

Execute Search operations through the LDAP client interface. This class is implemented based on the LDAP class library.

 usage       : java LDAPSearch -b baseDN [options] filter [attributes...]
 for example : java LDAPSearch -b "ou=People" -h ds.example.com -p 389 
               "(sn=Jensen)"
     
   note: '-' or '/' is used to distinct the option field.
         e.g. -a -b /c /d parameter -e parameter

 filter:
   Any string in RFC1558 specification.
    e.g. "(objectClass=*)"

 attributes: {0..n}
   All the string parameters follows with the filter.
     e.g. filter attrsA attrsB attrsC
 


Constructor Summary
LDAPSearch()
           
 
Method Summary
static void main(String[] args)
          This is the main function.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LDAPSearch

public LDAPSearch()
Method Detail

main

public static void main(String[] args)
This is the main function.

Parameters:
args - list of arguments

Directory SDK
for Java 4.19

Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 2008 Sun Microsystems, Inc. All Rights Reserved.