|
Sun Adapter for Batch/FTP | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.stc.eways.batchext.BatchRecordETD
public class BatchRecordETD
The BatchRecordETD class represents what is shown to the user in the collab. In addition to the default methods we have to implement from SimpleETDImpl this is also where we expose the additional custom functions exposed to the user (e.g. get(), put()) as well as the glue code to make the collab editor work.
BatchRecordConnector
Constructor Summary | |
---|---|
BatchRecordETD()
Defalt c'tor - create a new instance initializing everything to default values. |
Method Summary | |
---|---|
void |
finish()
ETD method: Called to finish the parse or create process |
boolean |
get()
|
BatchRecordConfiguration |
getConfiguration()
|
com.stc.connector.management.util.ObjectReference |
getMonitor()
|
byte[] |
getPayload()
|
byte[] |
getRecord()
|
void |
initialize(java.util.Properties p)
|
void |
put()
ETD method: Called to append the record in the record attribute to the output. |
boolean |
reset()
Resets the data content of an ETD. |
void |
setConfiguration(BatchRecordConfiguration cfg)
|
void |
setInputStreamAdapter(com.stc.eways.common.eway.standalone.streaming.InputStreamAdapter isa)
|
void |
setOutputStreamAdapter(com.stc.eways.common.eway.standalone.streaming.OutputStreamAdapter osa)
|
void |
setPayload(byte[] data)
|
void |
setRecord(byte[] data)
|
void |
terminate()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BatchRecordETD()
Method Detail |
---|
public void initialize(java.util.Properties p) throws BatchException, BatchCFGException
p
-
BatchException
BatchCFGException
public boolean reset() throws BatchException
false
if the ETD doesn't have a meaningful
implementation of reset()
; so do a
new
of the ETD instead. Otherwise, return
true
if the reset will clear the data content
of the ETD.
BatchException
public void terminate() throws BatchException
BatchException
public boolean get() throws BatchException
BatchException
public void put() throws BatchException
BatchException,
- BatchException
BatchException
public void finish() throws BatchException
BatchException
public void setOutputStreamAdapter(com.stc.eways.common.eway.standalone.streaming.OutputStreamAdapter osa) throws BatchException
BatchException
public void setInputStreamAdapter(com.stc.eways.common.eway.standalone.streaming.InputStreamAdapter isa) throws BatchException
BatchException
public byte[] getPayload() throws BatchException
BatchException
public void setPayload(byte[] data) throws BatchException
BatchException
public byte[] getRecord() throws BatchException
BatchException
public void setRecord(byte[] data) throws BatchException
BatchException
public BatchRecordConfiguration getConfiguration()
public void setConfiguration(BatchRecordConfiguration cfg)
public com.stc.connector.management.util.ObjectReference getMonitor()
|
Sun Adapter for Batch/FTP | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |