Software AG Products 10.7 | Integrating On-Premises and Cloud Applications | Integration Cloud | Built-In Services | Built-In Services | streamToString
 
streamToString
Creates a string from data that is read from an InputStream.
Input Parameters
inputStream
java.io.InputStream The InputStream to convert to a string.
encoding
String Optional. Name of a registered, IANA character set (for example, ISO-8859-1). If you specify an unsupported encoding, the system throws an exception. If no value is specified the encoding will be UTF-8.
Output Parameters
string
String Data read from inputStream and converted to a string.