liquibase.integration.commandline
Class CommandLineResourceAccessor
java.lang.Object
liquibase.integration.commandline.CommandLineResourceAccessor
- All Implemented Interfaces:
- ResourceAccessor
public class CommandLineResourceAccessor
- extends Object
- implements ResourceAccessor
Implementation of liquibase.FileOpener for the command line app.
- See Also:
ResourceAccessor
CommandLineResourceAccessor
public CommandLineResourceAccessor(ClassLoader loader)
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 © 2012 Liquibase.org. All Rights Reserved.