|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.xbus.technical.as400.AS400LineReader
public class AS400LineReader
LineReader to read/send a character stream from/to an AS/400.
| Constructor Summary | |
|---|---|
AS400LineReader(com.ibm.as400.access.AS400 aS400System,
com.ibm.as400.access.QSYSObjectPathName qSYSObject,
com.ibm.as400.access.SequentialFile originFile,
java.lang.String encoding)
Constructor an AS400LineReader. |
|
| Method Summary | |
|---|---|
void |
prepareReading(XBUSSystem destination)
Initialization to be done before reading from the LineReader. |
java.lang.String |
readRecord()
readRecord is called by senders to read the incoming data
line by line. |
void |
terminateReading()
Cleanup to be done after reading from the LineReader,
e.g. closing an InputStream. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AS400LineReader(com.ibm.as400.access.AS400 aS400System,
com.ibm.as400.access.QSYSObjectPathName qSYSObject,
com.ibm.as400.access.SequentialFile originFile,
java.lang.String encoding)
throws XException
aS400System - reference to the AS400qSYSObject - ???originFile - encoding -
XException - if something goes wrong| Method Detail |
|---|
public void prepareReading(XBUSSystem destination)
throws XException
LineReaderLineReader.
prepareReading in interface LineReaderXException - if something goes wrong
public java.lang.String readRecord()
throws XException
LineReaderreadRecord is called by senders to read the incoming data
line by line.
readRecord in interface LineReadernull if there is no more line
XException - if something goes wrong
public void terminateReading()
throws XException
LineReaderLineReader,
e.g. closing an InputStream.
terminateReading in interface LineReaderXException - if something goes wrong
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||