liquibase.integration.commandline
Class CommandLineResourceAccessor
java.lang.Object
liquibase.integration.commandline.CommandLineResourceAccessor
- All Implemented Interfaces:
- ResourceAccessor
public class CommandLineResourceAccessor
- extends java.lang.Object
- implements ResourceAccessor
Implementation of liquibase.FileOpener for the command line app.
- See Also:
ResourceAccessor
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
CommandLineResourceAccessor
public CommandLineResourceAccessor(java.lang.ClassLoader loader)
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.