liquibase.integration.ant
Class AntResourceAccessor
java.lang.Object
liquibase.integration.ant.AntResourceAccessor
- All Implemented Interfaces:
- ResourceAccessor
public class AntResourceAccessor
- extends 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)
|
AntResourceAccessor
public AntResourceAccessor(org.apache.tools.ant.Project project,
org.apache.tools.ant.types.Path classpath)
getResourceAsStream
public InputStream getResourceAsStream(String file)
throws IOException
- Specified by:
getResourceAsStream
in interface ResourceAccessor
- Throws:
IOException
getResources
public Enumeration<URL> getResources(String packageName)
throws IOException
- Specified by:
getResources
in interface ResourceAccessor
- Throws:
IOException
toClassLoader
public ClassLoader toClassLoader()
- Specified by:
toClassLoader
in interface ResourceAccessor
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2011 Liquibase.org. All Rights Reserved.