|
LDAP Classes Implements Java LDAP |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Describes the interfaces used by applications to write LDAP messages to an output destination.
LDAPReader
Method Summary | |
void |
finish()
Writes any remaining data to the output destination. |
java.lang.String |
getVersion()
Returns the version of data that will be writen to the output destination. |
boolean |
isRequest()
Returns the type of data to write to the output destination, true if request data, or false if result data. |
void |
writeComments(java.lang.String comments)
Writes an comments to the output destination. |
void |
writeEntry(LDAPEntry entry)
Writes an LDAPEntry to the output destination. |
void |
writeEntry(LDAPEntry entry,
LDAPControl[] controls)
Writes an LDAPEntry to the output destination. |
void |
writeError(java.lang.Exception e)
Writes an Exception to the output destination. |
void |
writeMessage(LDAPMessage message)
Writes an LDAPMessage to the output destination. |
Method Detail |
public java.lang.String getVersion()
public boolean isRequest()
public void writeMessage(LDAPMessage message) throws java.io.IOException, LDAPException
message
- the LDAPMesssage to write.
java.io.IOException
- if an I/O error occurs.
LDAPException
- for exceptions from LDAPpublic void writeEntry(LDAPEntry entry) throws java.io.IOException, LDAPException
entry
- the LDAPEntry to write.
java.io.IOException
LDAPException
public void writeEntry(LDAPEntry entry, LDAPControl[] controls) throws java.io.IOException, LDAPException
entry
- the LDAPEntry to write.controls
- any controls associated with the entry
java.io.IOException
- if an I/O error occurs.
LDAPException
- for exceptions from LDAPpublic void writeComments(java.lang.String comments) throws java.io.IOException
comments
- The comments to write
java.io.IOException
public void writeError(java.lang.Exception e) throws java.io.IOException
e
- Exception to be written.
java.io.IOException
public void finish() throws java.io.IOException
java.io.IOException
|
LDAP Classes Implements Java LDAP |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |