com.ibm.di.parser
Class ScriptParser

java.lang.Object
  extended by com.ibm.di.parser.ParserImpl
      extended by com.ibm.di.parser.ScriptParser
All Implemented Interfaces:
ParserInterface, VersionInfoInterface

public class ScriptParser
extends ParserImpl


Field Summary
 
Fields inherited from class com.ibm.di.parser.ParserImpl
_debug, myConfiguration
 
Constructor Summary
ScriptParser()
           
 
Method Summary
 void closeParser()
          Close parser and deallocate resources.
 void flush()
          Flush any data to the output stream.
 String getName()
           
 String getVersion()
          Return version information
 void initParser()
          Perform initialization of parser.
 Entry readEntry()
          Return the next entry from the current input stream
 void writeEntry(Entry entry)
          Write an entry to the current output stream
 
Methods inherited from class com.ibm.di.parser.ParserImpl
debug, debugMode, getClassInstance, getContext, getDebug, getInputStream, getOutputStream, getParam, getParser, getReader, getWriter, 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
 

Constructor Detail

ScriptParser

public ScriptParser()
Method Detail

initParser

public void initParser()
                throws Exception
Description copied from class: ParserImpl
Perform initialization of parser.

Specified by:
initParser in interface ParserInterface
Overrides:
initParser in class ParserImpl
Throws:
Exception

getName

public String getName()

writeEntry

public void writeEntry(Entry entry)
                throws Exception
Description copied from interface: ParserInterface
Write an entry to the current output stream

Parameters:
entry - The entry to write
Throws:
Exception

readEntry

public Entry readEntry()
                throws Exception
Description copied from interface: ParserInterface
Return the next entry from the current input stream

Returns:
The next entry from the input stream
Throws:
Exception

getVersion

public String getVersion()
Return version information


closeParser

public void closeParser()
                 throws Exception
Description copied from class: ParserImpl
Close parser and deallocate resources. This method closes the input and output streams.

Specified by:
closeParser in interface ParserInterface
Overrides:
closeParser in class ParserImpl
Throws:
Exception

flush

public void flush()
           throws Exception
Description copied from class: ParserImpl
Flush any data to the output stream.

Specified by:
flush in interface ParserInterface
Overrides:
flush in class ParserImpl
Throws:
Exception