public class RenderUtils extends Object
| Constructor and Description |
|---|
RenderUtils() |
| Modifier and Type | Method and Description |
|---|---|
static File |
createTemporaryFileFromInputStream(String suffix,
String prefix,
InputStream inputstream)
Create a temporary file from an input string.
|
static String |
getStringFromInputStream(InputStream inputstream,
Charset charset)
Get the content of an input stream as string.
|
public static String getStringFromInputStream(InputStream inputstream, Charset charset) throws IOException
inputstream - Given input stream with the contentcharset - Charset of the input streamIOException - Exception in case of an IO problempublic static File createTemporaryFileFromInputStream(String suffix, String prefix, InputStream inputstream) throws IOException
suffix - Suffix of the temporary fileprefix - Prefix of the temporary fileinputstream - Given input stream with the contentIOException - Exception in case of an IO problemCopyright © 2017. All rights reserved.