liquibase.commandline
Class CommandLineFileOpener

java.lang.Object
  extended by liquibase.commandline.CommandLineFileOpener
All Implemented Interfaces:
FileOpener

public class CommandLineFileOpener
extends java.lang.Object
implements FileOpener

Implementation of liquibase.FileOpener for the command line app.

See Also:
FileOpener

Constructor Summary
CommandLineFileOpener(java.lang.ClassLoader loader)
           
 
Method Summary
 java.io.InputStream getResourceAsStream(java.lang.String file)
           
 java.util.Enumeration<java.net.URL> getResources(java.lang.String packageName)
           
 java.lang.ClassLoader toClassLoader()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommandLineFileOpener

public CommandLineFileOpener(java.lang.ClassLoader loader)
Method Detail

getResourceAsStream

public java.io.InputStream getResourceAsStream(java.lang.String file)
                                        throws java.io.IOException
Specified by:
getResourceAsStream in interface FileOpener
Throws:
java.io.IOException

getResources

public java.util.Enumeration<java.net.URL> getResources(java.lang.String packageName)
                                                 throws java.io.IOException
Specified by:
getResources in interface FileOpener
Throws:
java.io.IOException

toClassLoader

public java.lang.ClassLoader toClassLoader()
Specified by:
toClassLoader in interface FileOpener