|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ibm.di.parser.ParserImpl
com.ibm.di.parser.LDIFParser
public class LDIFParser
The LDIF Parser reads and writes LDIF style data. The LDIF Parser is usually to do file exchange with an LDAP directory.
| Field Summary |
|---|
| Fields inherited from class com.ibm.di.parser.ParserImpl |
|---|
_debug, myConfiguration |
| Constructor Summary | |
|---|---|
LDIFParser()
Creates LDIF Parser. |
|
| Method Summary | |
|---|---|
java.lang.String |
getVersion()
Version information. |
void |
initParser()
This function is called after the connector has initialized the parser with input/output streams. |
boolean |
isDeltaSupported()
Returns true if this connector is able to perform delta updates |
static void |
main(java.lang.String[] argv)
Provided to test/debug function usage: passed argument of classpath to LDIF file will dump entries. |
Entry |
readEntry()
Reads LDIF files into entries. |
void |
writeEntry(Entry entry)
Writes entry in LDIF format to the current output writer. |
| Methods inherited from class com.ibm.di.parser.ParserImpl |
|---|
closeParser, debug, debugMode, flush, getClassInstance, getContext, getDebug, getInputStream, getOutputStream, getParam, getParser, getReader, getWriter, logmsg, querySchema, registerScriptBeans, setConfiguration, setContext, setDebug, setInputStream, setInputStream, setInputStream, setOutputStream, setOutputStream, setParam, setParser |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LDIFParser()
| Method Detail |
|---|
public void initParser()
initParser in interface ParserInterfaceinitParser in class ParserImpl
public Entry readEntry()
throws java.io.IOException
ldifDNAttributeName parameter. This is the main
entry point for reading entries.
java.io.IOException - If an I/O error occurs
public void writeEntry(Entry entry)
throws java.io.IOException
ldifVersion parameter is checked the ldif version
number is also written .
entry - the entry to be written.
java.io.IOException - If an I/O error occurspublic java.lang.String getVersion()
public static void main(java.lang.String[] argv)
argv - String arraypublic boolean isDeltaSupported()
isDeltaSupported in interface ParserInterfaceisDeltaSupported in class ParserImplfalse
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||