|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RawData
This defines a Java interface for a potentially large piece of data (incoming message stored in the repository) which can be a process variable. The main purpose for using this interface (as opposed to a Java byte array) is to avoid having to read the entire message into memory to perform useful operations (XT transformations, forwarding, etc) on it.
Nested Class Summary | |
---|---|
static class |
RawData.Factory
Static factory class for creating new instances of RawData |
Method Summary | |
---|---|
byte[] |
byteValue()
Returns the data stored as a byte array |
InputStream |
newInputStream()
Returns more effecient access to the data stored in this object. |
String |
stringValue()
Serializes the Binary object into a String. |
String |
stringValue(String enc)
Serializes the data with a specified Java encoding. |
Method Detail |
---|
String stringValue() throws RawDataRuntimeException
RawDataRuntimeException
String stringValue(String enc) throws UnsupportedEncodingException, RawDataRuntimeException
UnsupportedEncodingException
RawDataRuntimeException
byte[] byteValue() throws RawDataRuntimeException
RawDataRuntimeException
InputStream newInputStream() throws IOException
IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |