@Test public void testEmptyFile() throws Exception { Files.createFile(file); assertThrows(VocabHunterException.class, () -> SessionSerialiser.read(file)); }
public static EnrichedSessionState read(final Path file) { return new EnrichedSessionState(readInternal(file), file); }
SessionSerialiser { public static EnrichedSessionState read(final Path file) { return new EnrichedSessionState(readInternal(file), file); } }
SessionSerialiser { public static EnrichedSessionState read(final Path file) { return new EnrichedSessionState(readInternal(file), file); } private  SessionSerialiser(); }
SessionSerialiser { public static EnrichedSessionState read(final Path file) { return new EnrichedSessionState(readInternal(file), file); } private  SessionSerialiser(); static void write(final Path file, final SessionState state); static List<String> readWords(final Path file, final Predicate<MarkedWord> filter); static List<SessionWord> readMarkedWords(final Path file); static EnrichedSessionState read(final Path file); }
SessionSerialiser { public static EnrichedSessionState read(final Path file) { return new EnrichedSessionState(readInternal(file), file); } private  SessionSerialiser(); static void write(final Path file, final SessionState state); static List<String> readWords(final Path file, final Predicate<MarkedWord> filter); static List<SessionWord> readMarkedWords(final Path file); static EnrichedSessionState read(final Path file);  }