com.ibm.di.parser
Class SimpleParser
java.lang.Object
com.ibm.di.parser.ParserImpl
com.ibm.di.parser.SimpleParser
- All Implemented Interfaces:
- ParserInterface, VersionInfoInterface
public class SimpleParser
- extends ParserImpl
A class reading and writing dsEntries in a simple one-line-per-attribute format.
Methods inherited from class com.ibm.di.parser.ParserImpl |
closeParser, debug, debugMode, flush, getClassInstance, getContext, getDebug, getInputStream, getOutputStream, getParam, getParser, getReader, getWriter, initParser, isDeltaSupported, 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 |
SimpleParser
public SimpleParser()
readEntry
public Entry readEntry()
throws IOException
- Reads the next entry from the input stream.
If end of stream encountered a null value is returned.
- Returns:
- the next Entry in the input stream.
- Throws:
IOException
- See Also:
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()
- Return version information