|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.ldap.clients.LdapBind
org.apache.ldap.clients.LdapAdd
public class LdapAdd
Ldap client for the ADD operation
| Constructor Summary | |
|---|---|
LdapAdd(java.lang.String[] args)
Create the instance of the add client and parse the command line arguments |
|
| Method Summary | |
|---|---|
void |
add(java.lang.StringBuffer buf,
int msgId)
Prepare the LDIF entry and send it to the encoder, then wait for a reponse from the LDAP server on the results of the operation. |
java.io.InputStream |
getStream()
Get the inputStream to read the LDIF entries from. |
static void |
main(java.lang.String[] args)
The main method of the Modify client. |
void |
parseInput(java.io.InputStream inputStream)
Parse the input from the InputStream. |
| Methods inherited from class org.apache.ldap.clients.LdapBind |
|---|
bind, connect, disconnect, enableLogging, getDecoder, getEncoder, getIn, getLog, getModule, getOpts, getOut, getSocket, setDecoder, setEncoder, setIn, setLog, setModule, setOpts, setOut, setSocket |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LdapAdd(java.lang.String[] args)
args - Command line arguments| Method Detail |
|---|
public java.io.InputStream getStream()
public void parseInput(java.io.InputStream inputStream)
stream - The input stream to read the LDIF entries from
public void add(java.lang.StringBuffer buf,
int msgId)
a_buf - The string buffer that contain the LDIF entrymsgId - message id numberpublic static void main(java.lang.String[] args)
a_args - Command line arguments
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||