public class IOUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
readAllBytes(String filePath)
This is a port of
Files.readAllBytes(Path)
that has been modified to work within the game's classloader restrictions. |
public static byte[] readAllBytes(String filePath) throws IOException
Files.readAllBytes(Path)
that has been modified to work within the game's classloader restrictions.filePath - The local file path of the file to read.filePath as a byte array.IOException