liquibase.ant
Class AntFileOpener
java.lang.Object
liquibase.ant.AntFileOpener
- All Implemented Interfaces:
- FileOpener
public class AntFileOpener
- extends java.lang.Object
- implements FileOpener
An implementation of FileOpener that is specific to how Ant works.
|
Constructor Summary |
AntFileOpener(org.apache.tools.ant.Project project,
org.apache.tools.ant.types.Path classpath)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AntFileOpener
public AntFileOpener(org.apache.tools.ant.Project project,
org.apache.tools.ant.types.Path classpath)
getResourceAsStream
public java.io.InputStream getResourceAsStream(java.lang.String file)
throws java.io.IOException
- Specified by:
getResourceAsStream in interface FileOpener
- Throws:
java.io.IOException
getResources
public java.util.Enumeration<java.net.URL> getResources(java.lang.String packageName)
throws java.io.IOException
- Specified by:
getResources in interface FileOpener
- Throws:
java.io.IOException
toClassLoader
public java.lang.ClassLoader toClassLoader()
- Specified by:
toClassLoader in interface FileOpener