20 package net.sf.gridarta.model.resource;
23 import java.io.IOException;
24 import java.util.ArrayList;
25 import java.util.List;
33 import net.
sf.japi.swing.misc.Progress;
34 import org.jetbrains.annotations.NotNull;
78 private void finishRead(@NotNull
final List<G> invObjects) {
90 throw new IllegalStateException(
"resources already have been loaded");
92 final List<G> invObjects =
new ArrayList<>();
106 throw new IllegalStateException(
"resources already have been loaded");
131 public void writeCollected(@NotNull
final Progress progress, @NotNull
final File collectedDirectory)
throws IOException {
133 throw new IllegalStateException(
"can't write already collected archetypes");
161 protected abstract void writeCollectedInt(@NotNull Progress progress, @NotNull File collectedDirectory)
throws IOException;