| |
|
| java.lang.Object liquibase.CompositeFileOpener
CompositeFileOpener | public class CompositeFileOpener implements FileOpener(Code) | | A FileOpener that will search in a List of other FileOpeners until it finds
one that has a resource of the appropriate name and path.
author: List<FileOpener> | openers |
CompositeFileOpener | public CompositeFileOpener(List<FileOpener> openers)(Code) | | Creates a Composite Opener with the list specified. The List will
be searched in order from beginning to end.
Parameters: openers - The list of Openers to use |
CompositeFileOpener | public CompositeFileOpener(FileOpener... openers)(Code) | | Creates a CompositeFileOpener with 2 entries.
Parameters: openers - The list of Openers to use |
getResourceAsStream | public InputStream getResourceAsStream(String file) throws IOException(Code) | | Searches through all of the FileOpeners in order for the file.
If none of the FileOpeners was able to produce a stream to the file
then null is returned.
|
getResources | public Enumeration<URL> getResources(String packageName) throws IOException(Code) | | Searches all of the FileOpeners for a directory named packageName. If no
results are found within any of the directories then an empty
Enumeration is returned.
|
|
|
|