|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Defines a single Strategi Event. Strategi Event method calls must be made in proper order.
Method Summary | |
java.io.InputStream |
getInputStream()
Gets the input stream used to receive data from the event originator. |
java.io.InputStream |
getInputStream(int ccs)
Gets the input stream used to receive data from the event originator. |
java.io.OutputStream |
getOutputStream()
Gets the output stream used to send data back to the event originator. |
java.io.OutputStream |
getOutputStream(int ccs)
Gets the output stream used to send data back to the event originator. |
java.util.Properties |
getProperties()
Gets all properties associated with this event. |
java.lang.String |
getProperty(java.lang.String kwd)
Gets the property value associated with the specified keyword in the event property list. |
java.lang.String |
getProperty(java.lang.String kwd,
java.lang.String dftval)
Gets the property value associated with the specified keyword in the event property list. |
java.io.Reader |
getReader()
Gets the Reader used to receive data from the event originator. |
java.io.PrintWriter |
getTextWriter()
Gets a text writer object useful for status/debug messages. |
java.io.Writer |
getWriter()
Gets the Writer used to send data back to the event originator. |
boolean |
hasProperty(java.lang.String kwd)
Determines if a property with the specified keyword is present in the event property list. |
void |
sendProperty(java.lang.String kwd,
java.lang.String val)
Sends a property back to the event originator. |
long |
writeDataTo(java.io.OutputStream out)
Writes all input data to the specified output stream. |
long |
writeDataTo(java.io.OutputStream out,
int ccs)
Writes all input data to the specified output stream, translating to the specified CCSID. |
long |
writeDataTo(java.io.Writer wtr)
Writes all input data to the specified Writer. |
Method Detail |
public java.io.PrintWriter getTextWriter()
public boolean hasProperty(java.lang.String kwd)
kwd
- property keyword.public java.lang.String getProperty(java.lang.String kwd)
kwd
- property keyword.null
if the property is not found.public java.lang.String getProperty(java.lang.String kwd, java.lang.String dftval)
kwd
- property keyword.dftval
- a default value.public java.util.Properties getProperties()
public java.io.InputStream getInputStream()
public java.io.InputStream getInputStream(int ccs)
ccs
- the CCSID to receive data in.public java.io.Reader getReader()
public long writeDataTo(java.io.OutputStream out)
out
- the output stream to write to.public long writeDataTo(java.io.OutputStream out, int ccs)
out
- the output stream to write to.ccs
- CCSID to translate input data to.public long writeDataTo(java.io.Writer wtr)
wtr
- the Writer to use for writing.public void sendProperty(java.lang.String kwd, java.lang.String val)
kwd
- property keyword.val
- property value.public java.io.OutputStream getOutputStream()
public java.io.OutputStream getOutputStream(int ccs)
ccs
- CCSID used to mark this output stream.public java.io.Writer getWriter()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |