com.ibm.di.parser
Class LDIFParser
java.lang.Object
com.ibm.di.parser.ParserImpl
com.ibm.di.parser.LDIFParser
- All Implemented Interfaces:
- ParserInterface, VersionInfoInterface
public class LDIFParser
- extends ParserImpl
Method Summary |
String |
getVersion()
|
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)
|
Entry |
readEntry()
This is the main entry point for reading entries |
void |
writeEntry(Entry entry)
Write an entry to the current output stream |
Methods inherited from class com.ibm.di.parser.ParserImpl |
closeParser, debug, debugMode, flush, getClassInstance, getContext, getDebug, getInputStream, getOutputStream, getParam, getParser, getReader, getWriter, logmsg, 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 |
LDIFParser
public LDIFParser()
initParser
public void initParser()
- This function is called after the connector has initialized the parser
with input/output streams.
- Specified by:
initParser
in interface ParserInterface
- Overrides:
initParser
in class ParserImpl
readEntry
public Entry readEntry()
throws IOException
- This is the main entry point for reading entries
- Returns:
- The next entry from the input stream
- Throws:
IOException
writeEntry
public void writeEntry(Entry entry)
throws IOException
- Description copied from interface:
ParserInterface
- Write an entry to the current output stream
- Parameters:
entry
- The entry to write
- Throws:
IOException
getVersion
public String getVersion()
main
public static void main(String[] argv)
isDeltaSupported
public boolean isDeltaSupported()
- Description copied from class:
ParserImpl
- Returns true if this connector is able to perform delta updates
- Specified by:
isDeltaSupported
in interface ParserInterface
- Overrides:
isDeltaSupported
in class ParserImpl
- Returns:
- true if delta updates are supported, false otherwise