|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.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 wrongMethod Detail |
---|
public void prepareReading(XBUSSystem destination) throws XException
LineReader
LineReader
.
prepareReading
in interface LineReader
XException
- if something goes wrongpublic java.lang.String readRecord() throws XException
LineReader
readRecord
is called by senders to read the incoming data
line by line.
readRecord
in interface LineReader
null
if there is no more line
XException
- if something goes wrongpublic void terminateReading() throws XException
LineReader
LineReader
,
e.g. closing an InputStream.
terminateReading
in interface LineReader
XException
- if something goes wrong
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |