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
ResourceAccessor
getResourceAsStream
in interface ResourceAccessor
IOException
public Enumeration<URL> getResources(String packageName) throws IOException
getResources
in interface ResourceAccessor
IOException
public ClassLoader toClassLoader()
toClassLoader
in interface ResourceAccessor
Copyright © 2017 Liquibase.org. All rights reserved.