1 package org.sapia.resource; 2 3 import java.io.IOException ; 4 import java.io.InputStream ; 5 import java.net.URI ; 6 7 12 public interface ResourceHandler { 13 22 public InputStream getResource(String uri) throws IOException , ResourceNotFoundException; 23 24 33 public Resource getResourceObject(String uri) throws IOException ; 34 35 45 public boolean accepts(String uri); 46 47 55 public boolean accepts(URI uri); 56 57 } 58 | Popular Tags |