public class IOUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
asString(InputStream response) |
static String |
asStringPreservingNewLines(InputStream response) |
static String |
replacePlaceholders(String templateContent,
Map<String,String> values) |
static String |
substringBetween(String str,
String open,
String close) |
static void |
toFile(String content,
File output) |
public static String replacePlaceholders(String templateContent, Map<String,String> values)
public static final String asString(InputStream response)
public static String asStringPreservingNewLines(InputStream response)
Copyright © 2015 JBoss by Red Hat. All rights reserved.