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 ResourceAccessor
IOException
public InputStream getResourceAsStream(String file) throws IOException
ResourceAccessor
getResourceAsStream
in interface ResourceAccessor
IOException
public org.springframework.core.io.Resource getResource(String file)
public boolean isPrefixPresent(String file)
public ClassLoader toClassLoader()
toClassLoader
in interface ResourceAccessor
Copyright © 2017 Liquibase.org. All rights reserved.