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
IOException
public static String readFully(Reader r) throws IOException
IOException
public static boolean isJSONValid(String json) throws IOException
IOException
public static String convertYamlToJson(String yaml) throws IOException
IOException
Copyright © 2015–2019 Red Hat. All rights reserved.