liquibase.integration.ant
Class AntResourceAccessor
java.lang.Object
liquibase.integration.ant.AntResourceAccessor
- All Implemented Interfaces:
- ResourceAccessor
public class AntResourceAccessor
- extends java.lang.Object
- implements ResourceAccessor
An implementation of FileOpener that is specific to how Ant works.
Constructor Summary |
AntResourceAccessor(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, wait, wait, wait |
AntResourceAccessor
public AntResourceAccessor(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 ResourceAccessor
- 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 ResourceAccessor
- Throws:
java.io.IOException
toClassLoader
public java.lang.ClassLoader toClassLoader()
- Specified by:
toClassLoader
in interface ResourceAccessor
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2010 Liquibase.org. All Rights Reserved.