public class FileUtils extends Object
Modifier and Type | Method and Description |
---|---|
static void |
deleteRecursive(Path directory) |
static String |
readFile(Class<?> testClass,
String fileName) |
static String |
readFile(InputStream file)
Reads the
file and converting it to {@link String using UTF-8 encoding. |
static String |
readFile(URL url) |
public static String readFile(InputStream file)
file
and converting it to {@link String using UTF-8 encoding.public static void deleteRecursive(Path directory) throws IOException
IOException
Copyright © 2017 JBoss by Red Hat. All rights reserved.