liquibase.resource
Interface ResourceAccessor
- All Known Implementing Classes:
- AntResourceAccessor, ClassLoaderResourceAccessor, CommandLineResourceAccessor, CompositeResourceAccessor, FileSystemResourceAccessor, MavenResourceAccessor, SpringLiquibase.SpringResourceOpener
public interface ResourceAccessor
Abstracts file access so they can be read in a variety of manners.
getResourceAsStream
InputStream getResourceAsStream(String file)
throws IOException
- Throws:
IOException
getResources
Enumeration<URL> getResources(String packageName)
throws IOException
- Throws:
IOException
toClassLoader
ClassLoader toClassLoader()
Copyright © 2004-2011 Liquibase.org. All Rights Reserved.