1 2 3 4 5 6 7 8 9 10 11 12
package design.persistence.importexport; import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; public interface DataSource { void importData(JsonNode tree) throws IOException; JsonNode exportData() throws IOException; }