public final class StreamUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
readString(InputStream in)
Deprecated.
|
static String |
readString(InputStream in,
Charset charset)
Reads string from byte input stream.
|
@Deprecated public static String readString(InputStream in) throws IOException
readString(java.io.InputStream, java.nio.charset.Charset) variant.in - InputStream to build the String fromIOExceptionpublic static String readString(InputStream in, Charset charset) throws IOException
in - InputStream to build the String fromcharset - Charset used to decode the input streamIOExceptionCopyright © 2021 JBoss by Red Hat. All rights reserved.