Class ResourceIOManager
java.lang.Object
org.episteme.core.io.ResourceIOManager
Manager for Resource Readers and Writers.
Discovers implementations via SPI and selects the best one for a given file.
- Since:
- 1.1
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> Optional<ResourceReader<T>> Finds a suitable reader for the given resource and destination.static <T> Optional<ResourceWriter<T>> Finds a suitable writer for the given resource and destination.static <T> TLoads a resource of the specified type.static <T> voidSaves a resource to the specified destination.
-
Method Details
-
getReader
Finds a suitable reader for the given resource and destination. -
getWriter
Finds a suitable writer for the given resource and destination. -
load
-
save
-