public class CommandLineResourceAccessor extends Object implements ResourceAccessor
ResourceAccessor| Constructor and Description |
|---|
CommandLineResourceAccessor(ClassLoader loader) |
| Modifier and Type | Method and Description |
|---|---|
InputStream |
getResourceAsStream(String file)
Return the given file path as an InputStream.
|
Enumeration<URL> |
getResources(String packageName) |
ClassLoader |
toClassLoader() |
String |
toString() |
public CommandLineResourceAccessor(ClassLoader loader)
public InputStream getResourceAsStream(String file) throws IOException
ResourceAccessorgetResourceAsStream in interface ResourceAccessorIOExceptionpublic Enumeration<URL> getResources(String packageName) throws IOException
getResources in interface ResourceAccessorIOExceptionpublic ClassLoader toClassLoader()
toClassLoader in interface ResourceAccessorCopyright © 2014 Liquibase.org. All rights reserved.