01: /*
02: * Created on 31-Dec-2005
03: */
04: package uk.org.ponder.streamutil;
05:
06: import java.io.InputStream;
07:
08: /**
09: * Maps a String path onto an InputStream, in a context-dependent manner. Sample implementation
10: * is {@link SpringStreamResolver}.
11: * @author Antranig Basman (amb26@ponder.org.uk)
12: */
13: public interface StreamResolver {
14: public InputStream openStream(String path);
15: }
|