|
|||||||||||
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 | |
---|---|
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(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 ParserInterface
initParser
in class ParserImpl
public Entry readEntry() throws IOException
ldifDNAttributeName
parameter. This is the main entry
point for reading entries.
IOException
- If an I/O error occurspublic void writeEntry(Entry entry) throws IOException
ldifVersion
parameter is checked the ldif version
number is also written .
entry
- the entry to be written.
IOException
- If an I/O error occurspublic String getVersion()
public static void main(String[] argv)
argv
- String arraypublic boolean isDeltaSupported()
isDeltaSupported
in interface ParserInterface
isDeltaSupported
in class ParserImpl
false
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |