|
|||||||||||
| 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.LineReader
public class LineReader
The Line Reader Parser reads single lines of data. The line read is returned in a single attribute. There is also an attribute named linenumber that contains the line number, starting with 1.
| Field Summary |
|---|
| Fields inherited from class com.ibm.di.parser.ParserImpl |
|---|
_debug, myConfiguration |
| Constructor Summary | |
|---|---|
LineReader()
|
|
| Method Summary | |
|---|---|
String |
getVersion()
Version information. |
void |
initParser()
This method is called by the hosting component (e.g. |
Object |
querySchema(Object source)
Discover the schema for the 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 |
|---|
closeParser, debug, debugMode, flush, 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 |
|---|
public LineReader()
| Method Detail |
|---|
public void initParser()
throws Exception
initParser in interface ParserInterfaceinitParser in class ParserImplException - :
never
public void writeEntry(Entry entry)
throws Exception
entry - The entry to write
Exception - if an I/O error occurs.
public Entry readEntry()
throws Exception
Exception - if error occurs.
public Object querySchema(Object source)
throws Exception
querySchema in interface ParserInterfacequerySchema in class ParserImplsource - The object on which to discover schema
Exception - If an I/O error occurspublic String getVersion()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||