The final restructured version for automatic build using maven tycho
[Mograsim.git] / plugins / net.mograsim.logic.model / src / net / mograsim / logic / model / serializing / ResourceLoader.java
1 package net.mograsim.logic.model.serializing;
2
3 import java.io.IOException;
4 import java.io.InputStream;
5
6 import net.mograsim.logic.model.model.components.ModelComponent;
7
8 /**
9  * For loading JSON {@link ModelComponent}s from other OSGI-Modules or jar-Files.
10  */
11 public interface ResourceLoader
12 {
13         InputStream loadResource(String path) throws IOException;
14
15         Class<?> loadClass(String name) throws ClassNotFoundException;
16 }