public final class IOUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
readInput(InputStream in)
Read an input stream and return the content as string assuming UTF8.
|
static byte[] |
readInputStream(InputStream in) |
public static byte[] readInputStream(InputStream in) throws IOException
IOExceptionpublic static String readInput(InputStream in) throws IOException
in - The input streamIOException - eCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.