public class SpringLiquibase.SpringResourceOpener extends Object implements ResourceAccessor
| Constructor and Description |
|---|
SpringResourceOpener(String parentFile) |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.core.io.Resource |
getResource(String file) |
InputStream |
getResourceAsStream(String file)
Return the given file path as an InputStream.
|
Enumeration<URL> |
getResources(String packageName) |
boolean |
isPrefixPresent(String file) |
ClassLoader |
toClassLoader() |
public SpringResourceOpener(String parentFile)
public Enumeration<URL> getResources(String packageName) throws IOException
getResources in interface ResourceAccessorIOExceptionpublic InputStream getResourceAsStream(String file) throws IOException
ResourceAccessorgetResourceAsStream in interface ResourceAccessorIOExceptionpublic org.springframework.core.io.Resource getResource(String file)
public boolean isPrefixPresent(String file)
public ClassLoader toClassLoader()
toClassLoader in interface ResourceAccessorCopyright © 2014 Liquibase.org. All rights reserved.