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 fromIOException
public static String readString(InputStream in, Charset charset) throws IOException
in
- InputStream to build the String fromcharset
- Charset used to decode the input streamIOException
Copyright © 2019 JBoss by Red Hat. All rights reserved.