public class Files extends Object
| Constructor and Description |
|---|
Files() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getName(String path) |
static String |
readFileAsString(File toRead) |
static String |
readFileFromResources(String fileName) |
static String |
readStream(InputStream is) |
public static String readFileFromResources(String fileName) throws IOException
IOExceptionpublic static final String readStream(InputStream is) throws IOException
IOExceptionpublic static String readFileAsString(File toRead) throws IOException
IOExceptionCopyright © 2020. All Rights Reserved.