(File file)
| 456 | public static class FileUtils { |
| 457 | |
| 458 | public static byte[] readFile(File file) throws IOException { |
| 459 | return Files.readAllBytes(file.toPath()); |
| 460 | } |
| 461 | |
| 462 | public static void saveFile(File file, byte[] data) throws IOException { |
| 463 | if (!file.exists()) { |