public class IOHelpers extends Object
| Constructor and Description |
|---|
IOHelpers() |
| Modifier and Type | Method and Description |
|---|---|
static String |
convertYamlToJson(String yaml) |
static boolean |
isJSONValid(String json) |
static String |
readFully(InputStream in) |
static String |
readFully(Reader r) |
public static String readFully(InputStream in) throws IOException
IOExceptionpublic static String readFully(Reader r) throws IOException
IOExceptionpublic static boolean isJSONValid(String json)
public static String convertYamlToJson(String yaml) throws IOException
IOExceptionCopyright © 2015–2020 Red Hat. All rights reserved.