Cloud Application Integration (On-Premises) : Integration Server Built-In Services : IO Folder : pub.io:readAsString
pub.io:readAsString
WmPublic. Reads the data from a reader object and returns the contents as a string.
Input Parameters
reader
java.io.Reader The reader object.
length
String The maximum number of characters to read from the input reader object.
Output Parameters
reader
java.io.Reader The reader object.
lengthRead
String The number of characters read from the input reader object. If there is no more data because the end of the stream has been reached, lengthRead will be -1.
value
String The data read from the reader object, or null if end of stream has been reached.
Usage Notes
The readAsString service does not automatically close the reader object. To close the reader, use the pub.io:close service.
Copyright © 2015- 2017 Software AG, Darmstadt, Germany. (Innovation Release)

Product LogoContact Support   |   Community   |   Feedback