Read in the list of sources required for the character. @param pcgFile The character file @return The list of sources
(File pcgFile)
| 534 | * @return The list of sources |
| 535 | */ |
| 536 | public SourceSelectionFacade readSources(File pcgFile) |
| 537 | { |
| 538 | |
| 539 | try (InputStream in = new FileInputStream(pcgFile)) |
| 540 | { |
| 541 | return internalReadSources(in); |
| 542 | } catch (IOException ex) |
| 543 | { |
| 544 | Logging.errorPrint("Exception in IOHandler::read when reading", ex); |
| 545 | } |
| 546 | return null; |
| 547 | } |
| 548 | |
| 549 | @Nullable |
| 550 | private SourceSelectionFacade internalReadSources(InputStream in) |
no test coverage detected