@Test public void testMultiTs() throws URISyntaxException, IOException { List<TswSeries> items = newFactory.loadFile(getResource("MultiTs")); assertEquals(16, items.size()); TswSeries first = items.get(0); assertEquals("1 s0b44000.e2", first.name); assertEquals(192, first.data.get().getLength()); assertEquals(TsFrequency.Monthly, first.data.get().getFrequency()); TswSeries last = items.get(15); assertEquals("16 s0b72200.e2", last.name); assertEquals(192, last.data.get().getLength()); assertEquals(TsFrequency.Monthly, last.data.get().getFrequency()); }
@NonNull abstract public List<TswSeries> loadFile(@NonNull Path file) throws IOException;
TswFactory { @NonNull abstract public List<TswSeries> loadFile(@NonNull Path file) throws IOException; }
TswFactory { @NonNull abstract public List<TswSeries> loadFile(@NonNull Path file) throws IOException;  }
TswFactory { @NonNull abstract public List<TswSeries> loadFile(@NonNull Path file) throws IOException;  @NonNull abstract TswSource load(@NonNull Path repository); @NonNull abstract List<TswSeries> loadFile(@NonNull Path file); @NonNull static TswFactory getDefault(); }
TswFactory { @NonNull abstract public List<TswSeries> loadFile(@NonNull Path file) throws IOException;  @NonNull abstract TswSource load(@NonNull Path repository); @NonNull abstract List<TswSeries> loadFile(@NonNull Path file); @NonNull static TswFactory getDefault();  }