Package com.adobe.marketing.mobile.util
Class StreamUtils
-
- All Implemented Interfaces:
public final class StreamUtils
-
-
Method Summary
Modifier and Type Method Description static StringreadAsString(InputStream inputStream)Reads the contents of the InputStreamas a String.-
-
Method Detail
-
readAsString
static String readAsString(InputStream inputStream)
Reads the contents of the
InputStreamas a String. The input stream provided will be closed after contents are read.- Parameters:
inputStream- InputStream to read- Returns:
String representation of the input stream
-
-
-
-