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