|
All LDAP Classes Internal LDAP Classes |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface LDAPWriter
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 |
|---|
java.lang.String getVersion()
boolean isRequest()
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 LDAP
void writeEntry(LDAPEntry entry)
throws java.io.IOException,
LDAPException
entry - the LDAPEntry to write.
java.io.IOException
LDAPException
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 LDAP
void writeComments(java.lang.String comments)
throws java.io.IOException
comments - The comments to write
java.io.IOException
void writeError(java.lang.Exception e)
throws java.io.IOException
e - Exception to be written.
java.io.IOException
void finish()
throws java.io.IOException
java.io.IOException
|
All LDAP Classes Internal LDAP Classes |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||