01: package liquibase;
02:
03: import java.io.IOException;
04: import java.io.InputStream;
05: import java.net.URL;
06: import java.util.Enumeration;
07:
08: /**
09: * Abstracts file access so they can be read in a variety of manners.
10: */
11: public interface FileOpener {
12: public InputStream getResourceAsStream(String file)
13: throws IOException;
14:
15: public Enumeration<URL> getResources(String packageName)
16: throws IOException;
17:
18: public ClassLoader toClassLoader();
19: }
|