1 package net.krecan.m2_proxy; 2 3 import java.io.IOException; 4 5 6 7 /*** 8 * Abstract repository. Handles resources. 9 * @author Lukas Krecan 10 * 11 */ 12 public interface Repository { 13 /*** 14 * Loads resources. When the resource can not be loaded, returns null 15 * @param resourcePath 16 * @return returns resource 17 * @throws IOException 18 */ 19 public Resource loadResource(String resourcePath) throws IOException; 20 }