(final PlayerCharacter aPC, final String path, final boolean validate)
| 69 | } |
| 70 | |
| 71 | private void internalRead(final PlayerCharacter aPC, final String path, final boolean validate) |
| 72 | { |
| 73 | try (InputStream inputStream = new FileInputStream(path)) |
| 74 | { |
| 75 | read(aPC, inputStream, validate); |
| 76 | } |
| 77 | catch (IOException ex) |
| 78 | { |
| 79 | Logging.errorPrint("Exception in IOHandler::read when reading", ex); |
| 80 | } |
| 81 | } |
| 82 | |
| 83 | ///////////////////////////////////////////////////////////////////////////// |
| 84 | ////////////////////////////// Convenience ////////////////////////////////// |
no test coverage detected